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

Re: [linux-lvm] file system larger than lv



On Sat, Nov 16, 2002 at 02:59:42AM +0100, Ragnar Kjørstad wrote:
> > > Putting additional overloading block/filesystem layer services not necessarily
> > > needed there into the kernel is unlikely to be accepted either IMO.
> > 
> > No.  No.  Not in the kernel.  I mean the user space tools can simply
> > check what data is on the block device (i.e. look for a known
> > signature of given filesystems) and see if it can determine if it is
> > indeed a filesystem.
> 
> First of all it's not possible to detect if the device includes a valid
> filesystem. You can only check for know filesystems and I don't think it
> would be a good idea for lvm to include a list of filesystem-signatures.
> 
> Second, reducing the size of a device is just as dangerous if there is
> something else (say a datbase) on that device.
> 
> So, if anything, I think lvreduce should always warn the user that this
> is a dangerous operation.
> 

And it does that since used by dinoaurs ;)

> 
> 
> -- 
> Ragnar Kjørstad
> Big Storage
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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