Converting the root filesystem to ReiserFS on LVM...

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Apr 6 00:24:49 UTC 2004


On Mon, Apr 05, 2004 at 12:16:50PM -0400, Madison Kelly wrote:
>   Thank you for your tip but I must be doing something wrong because it 
> is still refusing to mount. When I typed '# ls -la /dev/VG00' I saw this:
> 
> # ls -la /dev/VG00/
> total 124
> dr-xr-xr-x   2 root     root       4096 Apr  5 11:45 .
> drwxr-xr-x  22 root     root     118784 Apr  5 11:45 ..
> crw-r-----   1 root     disk   109,   0 Apr  5 11:45 group
> brw-rw----   1 root     disk    58,   0 Apr  5 11:45 LV00
> brw-rw----   1 root     disk    58,   1 Apr  5 11:45 LV01
> brw-rw----   1 root     disk    58,   2 Apr  5 11:45 LV02
> 
>   So I rebooted using the rescue disk and sure enough there was no 
> '/dev/VG00'. So I 'insmod lvm-mod' (no errors) and then typed 'mknod 
> LV00 b 58 0' and it created"
> 
> brw-r--r--   1 root     root    58,   0 Apr  5 12:11 LV00
> 
>   But when I tried to mount it I get:
> 
> # mount -t ext3 /dev/VG00/LV00 /mnt/oldroot
> mount: Mounting /dev/VG00/LV00 on /mnt/oldroot failed: No such \
>   device or address
> 
>   Any sign of what I am doing wrong? Again, thank you very much!

I don't think you can do it manually.  I believe LVM requires
devicemapper to create and manage the device nodes.

You may want to look at convertfs.  Maybe it can do something useful.
Maybe it will trash the system. :)

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list