* [linux-lvm] LVM upgrade
@ 2006-11-13 12:19 Fred Donck
0 siblings, 0 replies; 2+ messages in thread
From: Fred Donck @ 2006-11-13 12:19 UTC (permalink / raw)
To: linux-lvm
*,
I am in the process of upgrading my Gentoo system and all that is stgill
to be done is LVM2
My current install is the following
host ~ # lvm version
LVM version: 2.01.09 (2005-04-04)
Library version: 1.01.00-ioctl (2005-01-17)
Driver version: 4.4.0
host ~ # df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 1003932 64952 938980 7% /
/dev/vg/usr 10485436 3729092 6756344 36% /usr
/dev/vg/var 10485436 636380 9849056 7% /var
/dev/vg/tmp 4194172 494092 3700080 12% /tmp
/dev/vg/opt 4194172 35928 4158244 1% /opt
/dev/vg/home 4194172 3041392 1152780 73% /home
none 248632 0 248632 0% /dev/shm
host ~ #
The latest Gentoo version for LVM2 is
host ~ # emerge -p lvm2
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-fs/device-mapper-1.02.10-r1 [1.01.00] USE="(-selinux)"
[ebuild U ] sys-fs/lvm2-2.02.06 [2.01.09] USE="-clvm% -cman% -gulm% -nolvm1% -nomirrors% -nosnapshots% (-selinux)"
host ~ #
Are there any problems i could expect when upgrading?
Especially in the volume names or in the mapping of volume name to device
name for /etc/fstab.
Thanks in advance
--
Fred
Doubt is an uncomfortable situation, but certainty is an absurd one
-- Voltaire
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] How do you mount a snapshot?
@ 2000-12-08 14:09 Chris Mason
2000-12-08 15:08 ` [linux-lvm] LVM Upgrade Magnus Naeslund(f)
0 siblings, 1 reply; 2+ messages in thread
From: Chris Mason @ 2000-12-08 14:09 UTC (permalink / raw)
To: linux-lvm
On Thursday, December 07, 2000 22:33:00 -0800 David Gould <dg@suse.com>
wrote:
> On Thu, Dec 07, 2000 at 03:56:11PM -0500, Chris Mason wrote:
[ snapshots ]
>> It should work with ext2.
>
> Really? I wonder. Maybe right after a sync before anything gets dirtied,
> but otherwise, how could the disk image be consistantly, er, consistant?
> And would not e2fsck have the same issues about writing?
>
> Or did I just wake up pessimistic today?
>
The reason it will not work on reiserfs without the extra API is that on
reiserfs, sync == commit to log, not commit to disk. So, there is no way
over the command line (or in the kernel) to ask the FS to sync to disk,
even when there is no traffic at all on the FS.
With ext2, if nothing is going on, you can type sync and have all the
buffers on disk. It is at least possible ;-) It would be better if ext2
could provide the write suspension hooks as well, but I'm guessing that
will be done in ext3 first (where the journal already does most of the
work).
In my mind, the people that need snapshots the most are the database
programs, where disk traffic can be carefully controlled. So the current
ext2 method is still useful.
-chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-13 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 12:19 [linux-lvm] LVM upgrade Fred Donck
-- strict thread matches above, loose matches on Subject: below --
2000-12-08 14:09 [linux-lvm] How do you mount a snapshot? Chris Mason
2000-12-08 15:08 ` [linux-lvm] LVM Upgrade Magnus Naeslund(f)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).