Bonjour bonjour
Une tite question j'ai un kimsufi 2To en raid donc 1to
et la racine /dev/md1 n'as que 20go hors je le sature vite dans mon /var/www
pour preuve la commande du -x -m --max-depth=1 | sort -n partant de la racine en remontant vers les repertoires fautifs ^^
![2014-04-1390654028-ssh.png](http://www.noelshack.com/2014-04-1390654028-ssh.png)
![2014-04-1390654028-ssh2.png](http://www.noelshack.com/2014-04-1390654028-ssh2.png)
![2014-04-1390654029-ssh3.png](http://www.noelshack.com/2014-04-1390654029-ssh3.png)
la commande fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00046c9f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2612 20971520+ fd Linux raid autodetect
/dev/sda2 2612 121536 955260928 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
/dev/sda3 121536 121601 525536 82 Linux swap / Solaris
Partition 3 does not start on physical sector boundary.
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000f2f87
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2612 20971520+ fd Linux raid autodetect
/dev/sdb2 2612 121536 955260928 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.
/dev/sdb3 121536 121601 525536 82 Linux swap / Solaris
Partition 3 does not start on physical sector boundary.
Disk /dev/md2: 978.2 GB, 978187124736 bytes
2 heads, 4 sectors/track, 238815216 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Alignment offset: 3584 bytes
Disk identifier: 0x00000000
Disk /dev/md1: 21.5 GB, 21474770944 bytes
2 heads, 4 sectors/track, 5242864 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
disk /dev/md1 doesn't contain a valid partition table
disk /dev/md2 doesn't contain a valid partition table
et enfin un df -h
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/md1 20G 19G 269M 99% /
tmpfs 3,9G 0 3,9G 0% /lib/init/rw
udev 10M 244K 9,8M 3% /dev
tmpfs 3,9G 0 3,9G 0% /dev/shm
/dev/md2 911G 46G 820G 6% /home
mon fstab
/dev/md1 / ext4 errors=remount-ro,relatime 0 1
/dev/md2 /home ext4 defaults,relatime 0 2
/dev/sda3 none swap defaults 0 0
/dev/sdb3 none swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
et enfin mon mtab
/dev/md1 / ext4 rw,relatime,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/md2 /home ext4 rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
voila donc j'envisage de passer mon /var/www dans /home
pour ca commencer par un /home/utorrent/utserver stop
puis /etc/init.d/appache stop
mkdir /home/www
un mv /var/www /home/www
et enfin modifier fstab en y ajoutant
/home/www /var/ none bind 0 0
voila je suis quasi sur de moi sur tout mais doutant sur des / en fin de commandes ou autres je voudrais po m effacé des trucs connement alors je demande au cas ou ^^
Merci d'avance