root@proxy:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 14G 1.5G 12G 12% /
tmpfs 501M 0 501M 0% /lib/init/rw
udev 10M 76K 10M 1% /dev
tmpfs 501M 0 501M 0% /dev/shm
/dev/sda5 67G 5.6G 58G 9% /data1
/dev/sda6 68G 5.5G 62G 9% /data2
/dev/loop0 97M 4.2M 88M 5% /var/spool/havp
root@proxy:~# umount /data1
root@proxy:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 14G 1.5G 12G 12% /
tmpfs 501M 0 501M 0% /lib/init/rw
udev 10M 76K 10M 1% /dev
tmpfs 501M 0 501M 0% /dev/shm
/dev/sda6 68G 5.5G 62G 9% /data2
/dev/loop0 97M 3.8M 89M 5% /var/spool/havp
root@proxy:~# umount /dev/sda5
umount: /dev/sda5: not mounted
root@proxy:~# tune2fs -j /dev/sda5
tune2fs 1.41.9 (22-Aug-2009)
Creating journal inode: done
This filesystem will be automatically checked every 30 mounts or
0 days, whichever comes first. Use tune2fs -c or -i to override.
Editer /etc/fstab et changer ext2 en ext3 sur la ligne correpondante :
/dev/sda5 /data1 ext3 defaults 0 2
Tester fstab :
root@proxy:~# mount -a
Aucun commentaire:
Enregistrer un commentaire