From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] JFS or XFS
Date: Fri Jan 16 08:57:15 2004 [thread overview]
Message-ID: <20040116110810.GD2837@redhat.com> (raw)
In-Reply-To: <20040116002908.11514.qmail@web41504.mail.yahoo.com>
On Thu, Jan 15, 2004 at 07:29:08PM -0500, Rajesh Saxena wrote:
> Thank you all for the replies regarding ReiserFS....... I will have to
> do more research into this matter because originally I did not consider
> reiser for the server. It is always good to get other peoples opinions
> on topics like this. I have one small request if you don't mind. The
> mail server will run cyrus imapd and while reading the documentation I
> saw the following note which is attached below after my email. The
> author of this document also notes that XFS includes a program called
> xfs_freeze which will freeze a filesystem from new changes so a more
> reliable snapshot can be created. Again people here with more
> experience with LVM and reiserfs might know of a better way to do the
> snapshot for backups. Any opinions?
> Thank you all for your insight. Please keep posting if you have
> different opinionss.
>
> Please scroll all the way to the bottom:
> http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/Backup
>
> One issue you may run into: if you're using ReiserFS, at least on Linux
> 2.4 with LVM1, then snapshots may occasionally fail. The snapshot will
> be created fine, but the ReiserFS fileystem on it will not be mountable
> if it has incomplete transactions. The ReiserFS code tries to replay
> the transactions, fails because the snapshot is read-only, and fails to
> mount the FS. I've found that syncing the disks before taking the
> snapshot reduces the chances of this happening dramatically:
Rajesh,
you need to apply the VFS-Lock patch from our web site to avoid your
following 'trick'. That enables LVM to 'flush' all pending fs io
before activating the snapshot.
Another option is to try out LVM2/device-mapper which
supports writable snapshots :)
Regards,
Heinz -- The LVM Guy --
>
> sync && sleep 1 && sync && sleep 1 && sync # try to make sure FS will
> be clean
> nice -n -19 lvcreate -s -L 1G -n var_s /dev/OS/var >&/dev/null || \
> ( echo "Error creating snapshot of /var: $?" && exit 1 )
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2004-01-16 8:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-15 18:19 [linux-lvm] JFS or XFS Rajesh Saxena
2004-01-15 18:24 ` neuron
2004-01-15 18:33 ` Austin Gonyou
2004-01-15 18:46 ` Greg Freemyer
2004-01-15 19:02 ` Spam
2004-01-20 16:15 ` Steven Lembark
2004-01-15 22:38 ` Austin Gonyou
2004-01-15 19:30 ` Rajesh Saxena
2004-01-16 8:57 ` Heinz Mauelshagen [this message]
2004-01-16 17:55 ` Rajesh Saxena
2004-01-16 19:43 ` Alasdair G Kergon
2004-01-16 19:48 ` Dan Sully
2004-01-16 20:06 ` Alasdair G Kergon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040116110810.GD2837@redhat.com \
--to=mauelshagen@redhat.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.