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

Re: bon usage du raid et de LVM



Hello,

Le jeudi 30 octobre 2008 à 22:15 +0100, Glennie Vignarajah a écrit :
Le Thursday 30 October 2008 vers 19:07, Sébastien 
Barthélemy("Sébastien Barthélemy" <barthelemy@crans.org>) a écrit:

Bonjour,

> Est-ce raisonnable d'utiliser LVM+RAID pour les partitions système
> ? Comme je peux difficilement les démonter je ne pourrai pas les
> modifier (si ?).

Cela dépend du type de FS utilisé. EXT3 peut être agrandi à chaud en 
fonction du kernel.

--- Extrait du man --- 
 The  resize2fs  program will resize ext2 or ext3 file systems.  It 
can be used to enlarge or shrink an unmounted file system located on 
device.  If the filesystem is  mounted,  it  can  be  used  to 
expand the size of the mounted filesystem, assuming the kernel 
supports on-line resizing.  (As of this writing, the Linux 2.6 
kernel supports on-line resize for filesystems mounted using ext3 
only.).
--- Extrait du man --- 

Cela dit, je préfère garder mes partitions système hors LVM.
A+

Est-ce que tu peux nous en dire plus sur cela ? Est-ce qu'il y des raisons techniques ou des préconisations ?

Personnellement, j'utilise LVM partout, parce que ça me permet de ne plus me soucier des histoires de partition (notamment les primaires limitées à 4), et justement parce qu'on peut redimensionner assez facilement). En plus ça offre des possibilités très alléchantes, comme les snapshots.

-- 
http://www.glennie.fr
The reasonable man adapts himself to the world; the unreasonable one 
persists in trying to adapt the world to himself. Therefore all 
progress depends on the unreasonable man.



Cordialement,
--
Guillaume


Reply to: