View previous topic :: View next topic |
Author |
Message |
Shaoh n00b
Joined: 25 Oct 2006 Posts: 17
|
Posted: Tue Jan 20, 2009 6:27 pm Post subject: dev-node -making feature? |
|
|
Hi
Im experimenting with LVM2 and its Logic Volumes. Whenever i make some partitions with parted or cfdisk in a LV, i cant see the device node that should be created because of this. Like:
/dev/mapper/vg-test <-- LV block device
/dev/mapper/vg-testp1 <-- partition 1
/dev/mapper/vg-testp2 <-- partition 2
I've tried the same on some other distributions. On some distributions both parted and cfdisk tells me to reboot the kernel, because it cant signal it to update the nodes.
Is there a tool / feature / command that forces the kernel or a userspaceprogram to update these nodes? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 20, 2009 8:14 pm Post subject: |
|
|
I don't know if LVM uses a special command, but this works on regular devices.
Code: | # blockdev --rereadpt /dev/mapper/vg-test
# dmesg | tail |
|
|
Back to top |
|
|
Shaoh n00b
Joined: 25 Oct 2006 Posts: 17
|
Posted: Wed Jan 21, 2009 10:06 am Post subject: |
|
|
hmm doesn't seem to work. If i run:
Code: | blockdev -v --rereadpt /dev/mapper/vg-test |
i get:
Code: |
BLKRRPART: Invalid argument
reread partition table failed.
|
there is no errors/warning entries in dmesg after i run this command. |
|
Back to top |
|
|
|