Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-node -making feature?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Shaoh
n00b
n00b


Joined: 25 Oct 2006
Posts: 17

PostPosted: Tue Jan 20, 2009 6:27 pm    Post subject: dev-node -making feature? Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Jan 20, 2009 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Shaoh
n00b
n00b


Joined: 25 Oct 2006
Posts: 17

PostPosted: Wed Jan 21, 2009 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum