Re: "partprobe" and device mapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 15 Jun 2006, Herta Van den Eynde wrote:

> thomas.vonsteiger@xxxxxxxxxx wrote:
>
> > Older Version of Linux without device mapper if i have a new partition i can
> > use "partprobe to update the partitions in /proc/partition without reboot.
> > Newer Versions of Linux like FC5 are using devicemapper. /dev/mapper/XXXX
> > can be used for vg or filesystem.
> > If I create a new partition on a disk how I can tell devicemapper from to
> > new partition without reboot ?
> > partprobe is not working for this. I need to sea all my new partition in
> > /dev/mapper 
> > regards
> > Thomas
> 
> Sounds like you're looking for kpartx.  It's used by rc.sysinit to create the
> device maps.

Shouldn't that be vgchange -a y ?

For some reason on this system (FC5) I see kpartx being run from dmsetup 
(if it exists), but it does not exist on my system.

apt-get tells me kpartx is part of the device-mapper-multipath package 
which I don't even require. So I wonder if vgchange is sufficient to 
enable new logical volumes.

Kind regards,
--   dag wieers,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux