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

Re: [linux-lvm] is devfs required?



On Fri, Feb 22, 2002 at 09:40:37PM +0000, Vincent AE Scott wrote:
> errr, are you saying that it's not possible to switch between devfs and
> non-devfs, as soon as you use the former?
well, the issue is that the lvm device cache does not cope with
variyng device names, as happens when using devfs (i.e. you have both
/dev/scsi/host0/bus0/target0/lun0/part1
and
/dev/sda1
to reference the same partitin

the worst case is when you have devfs compiled in and not mounted,
so /proc/partitions holds the long device name, but /dev contains
only the short one.

> oh, i've just thought of one other thing, that maybe? caused a problem:
> i did create a LV and copied my entire /fs into it, then rebooted into
> it to see if it all worked.  havent used it since tho.
> 
> is it possible that the data in /etc/lvm* on the original and LVM copied
> partitions were not quite in sync with what was on disk?

the data in /etc/lvmtab.d can be recreated by using vgscan
that in /etc/lvmconf by vgcfgbackup

L.

-- 
Luca Berra -- bluca comedia it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \



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