Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently working on configuring GPFS files system under RHEL4 U8. In my setup I am using the following,
1. RHEL4 U8 ES 32-bit.
2. GPFS 3.2.1.
3. Configured GPFS cluster.
4. Configured DM-MP multipathing.
5. Configured LVM with the available SAN luns (from Netapp Storage).
6. I could bring the dm-mp devices under GPFS and I have configured GPFS file systems.
But I want to create nsd (gpfs) with LVM. Is it possible to create gpfsnsd on lvm.
When I tried to run the command,
# ./mmcrnsd -F /gpfs/gpfs.disks -v yes
mmcrnsd: Processing disk vg1/lvol0
mmcrnsd: vg1/lvol0 was not found in /proc/partitions.
mmcrnsd: Failed while processing disk descriptor /dev/vg1/lvol0:server1
While I have never heard of GPFS before, the first hit on google for mmcrnsd took me to GPFS V3.1 Administration and Programming Reference. Reading over that, particularly regarding the DiskName and Examples section, it leads me to believe that mmcrnsd is expecting a block-device|partition that is directly under /dev/ and found in /proc/partitions.
My initial inclination is to identify what the dm-# for the LV is in /proc/partitions and /dev/ and use that instead of vg1/lvol0 in DescFile (/gpfs/gpfs.disks) and see if that works better for you.
I bumped into the same problem, but I don't have a these /dev/dm-X entries corresponding to my LVM volumes. If I create soft links in /dev like /dev/dm-3 -> /dev/mapper/myraid-03 then all works fine for me. But these soft links don't survive a reboot of cource. How can I set the system so that /dev/dm-X devices automatically appear and match those in /proc/partitions?
I bumped into the same problem, but I don't have a these /dev/dm-X entries corresponding to my LVM volumes. If I create soft links in /dev like /dev/dm-3 -> /dev/mapper/myraid-03 then all works fine for me. But these soft links don't survive a reboot of cource. How can I set the system so that /dev/dm-X devices automatically appear and match those in /proc/partitions?
cheers
Artem.
It is possible the default(s) for the version you are using do not interact as expected. You may want to consult lvm.conf for the values of the configured udev parameters (udev_sync and udev_rules).
What OS/release/architecture? What lvm2 and udev package versions are installed?
Thanks for your reply. This is RH5.5 clone (Scientific Linux) x86_64. Udev is Version 095, Release 14.21.el5. LVM2 is Version 2.02.56, Release 8.el5_5.6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.