LVM2 + Linux 2.6.1 questions
Hi there
I've successfully setup LVM2.2.00.08 and device-mapper.1.00.07 on a Slackware 9.1 host with Linux 2.6.1. I have a question or two:
1) Would a shutdown error something like the following, be attributed to LVM and/or device-mapper?
/proc/devices: fopen failed - no such file or directory
2) Why do I see, for example, a /dev/mapper/v01-home entry, instead of /dev/v01/home, when running 'df' and 'mount'? I see that /dev/mapper/v01/home symlinks to /dev/mapper/v01-home, which must account for this, though I thought that because I'd specified /dev/v01/home, that it'd appear as such? Not that this really matters I suppose ;-)
$ df -h | grep v01 /dev/mapper/v01-home 2.9G 444M 2.4G 16% /home /dev/mapper/v01-usr 2.0G 1.1G 760M 60% /usr /dev/mapper/v01-var 985M 30M 906M 4% /var
$ mount | grep v01 /dev/mapper/v01-home on /home type ext3 (rw) /dev/mapper/v01-usr on /usr type ext3 (rw) /dev/mapper/v01-var on /var type ext3 (rw)
3) Does anyone know when LVM2 specific docs, such as a HOWTO and FAQ will be available?
Thanks
Dale
Quoted 10 lines · Dale Gallagher
Hi there
I've successfully setup LVM2.2.00.08 and device-mapper.1.00.07 on a Slackware 9.1 host with Linux 2.6.1. I have a question or two:
1) Would a shutdown error something like the following, be attributed to LVM and/or device-mapper?
/proc/devices: fopen failed - no such file or directory
It's probably caused by LVM. I see them too. Everything works anyway, so I don't care that much.
Quoted 6 lines
2) Why do I see, for example, a
/dev/mapper/v01-homeentry, instead of/dev/v01/home, when running 'df' and 'mount'? I see that/dev/mapper/v01/homesymlinks to/dev/mapper/v01-home, which must account for this, though I thought that because I'd specified/dev/v01/home, that it'd appear as such? Not that this really matters I suppose ;-)
I see the /dev/vg/link name.
Quoted 5 lines
$ df -h | grep v01 /dev/mapper/v01-home 2.9G 444M 2.4G 16% /home /dev/mapper/v01-usr 2.0G 1.1G 760M 60% /usr /dev/mapper/v01-var 985M 30M 906M 4% /var
Quoted 7 lines
$ mount | grep v01 /dev/mapper/v01-home on /home type ext3 (rw) /dev/mapper/v01-usr on /usr type ext3 (rw) /dev/mapper/v01-var on /var type ext3 (rw)3) Does anyone know when LVM2 specific docs, such as a HOWTO and FAQ will be available?
It doesn't seem like you need one, if you've gotten this far.
Signature · 2 lines
Måns Rullgård [email protected]
Quoted 8 lines · Måns Rullgård
Quoted 6 lines
2) Why do I see, for example, a
/dev/mapper/v01-homeentry, instead of/dev/v01/home, when running 'df' and 'mount'? I see that/dev/mapper/v01/homesymlinks to/dev/mapper/v01-home, which must account for this, though I thought that because I'd specified/dev/v01/home, that it'd appear as such? Not that this really matters I suppose ;-)I see the
/dev/vg/linkname.
Mine shows /dev/mapper/vg-link too. I would definitely prefer /dev/vg/link because at least it's not implementation dependent... but I guess it's mostly an aesthetic thing.
Any idea why yours is different? Different version of mount maybe? Using mount-2.11z here...
Later,
Navin.
Quoted 11 lines
Quoted 1 line · Måns Rullgård
I see the
/dev/vg/linkname.Navindra Umanee <[email protected]> wrote:
Mine shows/dev/mapper/vg-linktoo. I would definitely prefer/dev/vg/linkbecause at least it's not implementation dependent... but
I guess it's mostly an aesthetic thing.
Quoted 3 lines
Any idea why yours is different? Different version of mount maybe?
Using mount-2.11z here...
I have mount-2.12 and and df (coreutils) 5.0
Dale
Quoted 8 lines · Navindra Umanee
Quoted 7 lines · Måns Rullgård
Quoted 6 lines
2) Why do I see, for example, a
/dev/mapper/v01-homeentry, instead of/dev/v01/home, when running 'df' and 'mount'? I see that/dev/mapper/v01/homesymlinks to/dev/mapper/v01-home, which must account for this, though I thought that because I'd specified/dev/v01/home, that it'd appear as such? Not that this really matters I suppose ;-)
Quoted 8 lines
Quoted 1 line
I see the
/dev/vg/linkname.Mine shows
/dev/mapper/vg-linktoo. I would definitely prefer/dev/vg/linkbecause at least it's not implementation dependent... but I guess it's mostly an aesthetic thing.Any idea why yours is different? Different version of mount maybe? Using mount-2.11z here...
Same version here. It struck me that my /etc/mtab is a symlink to /proc/mounts. Maybe that makes a difference.
Signature · 2 lines
Måns Rullgård [email protected]
Quoted 2 lines · Måns Rullgård
Same version here. It struck me that my
/etc/mtabis a symlink to/proc/mounts. Maybe that makes a difference.
That works better, thanks! I hope it works across boots. Now it doesn't have the ugly devfs names instead of the short names either.
There is some anomaly with how the root filesystem is listed though (it's there twice). Oh well can't be too picky.
Cheers,
Navin.
Quoted 2 lines · Dale Gallagher
3) Does anyone know when LVM2 specific docs, such as a HOWTO and FAQ will be available?
I'm currently working on updating the LVM Howto at the Linux Documentation Project to include LVM2 information, so if you have anything you want to in there, let me know.
Thanks,
Signature · 11 lines
AJ Lewis Voice: 612-638-0500 Red Hat Inc. E-Mail: [email protected] 720 Washington Ave. SE, Suite 200 Minneapolis, MN 55414 Current GPG fingerprint = FE77 4B43 6A9B F982 A731 02FA 2BF5 7574 294A AA5A Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the many keyservers out there... -----Begin Obligatory Humorous Quote---------------------------------------- Life's unfair - but root password helps! -----End Obligatory Humorous Quote------------------------------------------