Après m’être documenté j’ai booté sur un CD d’install debian…
Et j’ai été surpris de trouver des options de config automatiques avec LVM, RAID.
Waw ! J’avais jamais fait gaffe auparavant, n’y connaissant rien.
Je me suis laissé guidé pour tester.
Ca a créé cela (le disque dur de 800Mo
a été ajouté après) :
root@serveur:~# df -h
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/mapper/serveur-root
111G 47G 58G 45% /
tmpfs 633M 0 633M 0% /lib/init/rw
udev 628M 188K 628M 1% /dev
tmpfs 633M 0 633M 0% /dev/shm
/dev/sda1 228M 15M 202M 7% /boot
[code]root@serveur:~# fdisk -l
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008a979
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 14947 119809025 5 Extended
/dev/sda5 32 14947 119809024 8e Linux LVM
Disk /dev/sdb: 850 MB, 850010112 bytes
32 heads, 63 sectors/track, 823 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 822 828544+ 6 FAT16
Disk /dev/dm-0: 120.1 GB, 120091312128 bytes
255 heads, 63 sectors/track, 14600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn’t contain a valid partition table
Disk /dev/dm-1: 2592 MB, 2592079872 bytes
255 heads, 63 sectors/track, 315 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn’t contain a valid partition table
[/code]
Plus tard je dédierai à /usr, /var, etc leur propres espaces.
A ce propos, si /var/mail se fait spammer alors qu’il contient sa propre partition lvm, lvm va bien le vivre ou bien tout le systeme va planter ?
Savez vous si une installation d’un vil Windows reste possible sur cette config ?
Mes lectures semblaient annoncer quelques désagrément, notamment au niveau du boot (qui ici n’a pas l’air d’être géré par lvm si je ne me trompe pas) mais rien n’était très clair.