* [linux-lvm] Converting the root filesystem to ReiserFS on LVM...
@ 2004-04-05 14:42 Madison Kelly
2004-04-06 13:48 ` David Johnston
2004-04-06 16:43 ` Michael Ossmann
0 siblings, 2 replies; 5+ messages in thread
From: Madison Kelly @ 2004-04-05 14:42 UTC (permalink / raw)
To: linux-lvm
Hi all,
I am officially stumped... I have tried two rescue discs (SysRescCD
and PLD Rescue) as well and my Fedora Core 1 install disk using 'linux
rescue' in an attempt to backup the FC1 root partition so that I can
reformat it as ReiserFS and then restore it.
When I use the FC1 cd I can't unmount '/mnt/sysimage' which is seen
as the LVM device '/dev/VG00/LV00', it keeps saying the device or
resource is busy (despite being out of the directory and running off the
CD). When I try to boot off either rescue CD 'root' isn't mounted but
then I can't find the darn LVM partitions (and yes I made sure that the
rescue CDs supported LVM and ReiserFS).
Under Fedora the devices I need to mount are on:
/dev/VG00/LV00 = '/' (currently ext3)
/dev/VG00/LV01 = '/backup' (reiserfs)
/dev/VG00/LV02 = '/snapshot' (reiserfs)
Under the two rescue CDs though there is no '/dev/VG00...'. Where
would I find those partitions? I tried looking under '/dev/' but the
only thing relevant I could find was '/dev/ide/host0/bus0/target0/lun0/'
and there was no sign of the LVM partitions (nor under variants like
'bus1', etc.).
Any help would be greatly appreciated!
Madison
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Converting the root filesystem to ReiserFS on LVM...
2004-04-05 14:42 [linux-lvm] Converting the root filesystem to ReiserFS on LVM Madison Kelly
@ 2004-04-06 13:48 ` David Johnston
2004-04-06 14:15 ` Madison Kelly
2004-04-06 16:43 ` Michael Ossmann
1 sibling, 1 reply; 5+ messages in thread
From: David Johnston @ 2004-04-06 13:48 UTC (permalink / raw)
To: LVM general discussion and development
On Mon, 2004-04-05 at 10:42, Madison Kelly wrote:
> Hi all,
>
> I am officially stumped...
> When I use the FC1 cd I can't unmount '/mnt/sysimage' which is seen
> as the LVM device '/dev/VG00/LV00', it keeps saying the device or
> resource is busy
> Under Fedora the devices I need to mount are on:
> /dev/VG00/LV00 = '/' (currently ext3)
> /dev/VG00/LV01 = '/backup' (reiserfs)
> /dev/VG00/LV02 = '/snapshot' (reiserfs)
Madison,
do you by any chance have /mnt/sysimage/backup or /mnt/sysimage/snapshot
mounted when you get the "resource busy" error?
--
David Johnston <david@littlebald.com>
Little Bald Consulting, LLC
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Converting the root filesystem to ReiserFS on LVM...
2004-04-06 13:48 ` David Johnston
@ 2004-04-06 14:15 ` Madison Kelly
2004-04-06 16:45 ` Michael Ossmann
0 siblings, 1 reply; 5+ messages in thread
From: Madison Kelly @ 2004-04-06 14:15 UTC (permalink / raw)
To: LVM general discussion and development
David Johnston wrote:
> On Mon, 2004-04-05 at 10:42, Madison Kelly wrote:
>
>>Hi all,
>>
>>I am officially stumped...
>>When I use the FC1 cd I can't unmount '/mnt/sysimage' which is seen
>>as the LVM device '/dev/VG00/LV00', it keeps saying the device or
>>resource is busy
>>Under Fedora the devices I need to mount are on:
>>/dev/VG00/LV00 = '/' (currently ext3)
>>/dev/VG00/LV01 = '/backup' (reiserfs)
>>/dev/VG00/LV02 = '/snapshot' (reiserfs)
>
>
> Madison,
> do you by any chance have /mnt/sysimage/backup or /mnt/sysimage/snapshot
> mounted when you get the "resource busy" error?
Nope, I made sure to dismount anything mounted under /mnt/sysimage (inc.
boot/). I have since been able to copy the data by using the SysRescCD
and then using EVMS to simply look at the partitions and then saving out
and mounting /dev/evms/lvm/<vg>/<lv> but after restoring and rebooting
it would kernel panic still thinking that '/' was ext3 despite editing
'/etc/blkid.tab' and '/etc/fstab'.
I am trying now to figure out how to properly use 'chroot /mnt/sysimage'
followed by 'lvcreate_initrd' to write a new boot loaded but despit
double checking that the file name was right Grub still fails to find
the file...
Quite an ordeal but I am making progress, slowly.
Thanks for your reply! Any other tips by chance?
Madison
PS - For the archives, this is a Fedora Core 1 install.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Converting the root filesystem to ReiserFS on LVM...
2004-04-05 14:42 [linux-lvm] Converting the root filesystem to ReiserFS on LVM Madison Kelly
2004-04-06 13:48 ` David Johnston
@ 2004-04-06 16:43 ` Michael Ossmann
1 sibling, 0 replies; 5+ messages in thread
From: Michael Ossmann @ 2004-04-06 16:43 UTC (permalink / raw)
To: LVM general discussion and development
On Mon, Apr 05, 2004 at 10:42:42AM -0400, Madison Kelly wrote:
>
> When I try to boot off either rescue CD 'root' isn't mounted but
> then I can't find the darn LVM partitions (and yes I made sure that the
> rescue CDs supported LVM and ReiserFS).
Did you try running vgscan?
mossmann
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-04-06 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-05 14:42 [linux-lvm] Converting the root filesystem to ReiserFS on LVM Madison Kelly
2004-04-06 13:48 ` David Johnston
2004-04-06 14:15 ` Madison Kelly
2004-04-06 16:45 ` Michael Ossmann
2004-04-06 16:43 ` Michael Ossmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox