Linuxシステムマウントストレージ読み取り専用から読み書きに変更
683 ワード
1、mount:
, :
[root@ubuntu ~]# mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/dm-0 on /home/book/upload/BookFile1 type ext3 (rw)
/dev/dm-1 on /home/book/upload/BookFile2 type ext3 (rw)
/dev/dm-2 on /backup type ext3 (rw)
/dev/dm-3 on /home/book/upload/BookFile3 type ext3 (ro)
2、ro ,rw
3、umount /dev/dm-3
“device is busy”, busy
fuser -m /mnt/data pid
fuser -mk /mnt/data kill pid
mount 。
4、 remount, mount -o rw,remount /mnt/data。
, , mount rw ro 。