September 6, 200916 yr I type in the following: reiserfsck /dev/md1 to check my filesystem and I get the following error: Partition /dev/md1 is mounted with write permissions, cannot check it Any ideas?
September 7, 200916 yr If the array is started that may be the problem, try stopping the array and then using the command again Wrong answer... If you stop the array, the /dev/md1 device will not exist. The answer is to follow the instructions given in the wiki and to un-mount the device first, then to run reiserfsck on it. Instructions are here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems Joe L.
September 7, 200916 yr If the array is started that may be the problem, try stopping the array and then using the command again Wrong answer... If you stop the array, the /dev/md1 device will not exist. The answer is to follow the instructions given in the wiki and to un-mount the device first, then to run reiserfsck on it. Instructions are here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems Joe L. OK, that makes sense. I was under the impression that stopping the array unmounted the drives but would still allow access to /dev/mdX. Now I know better
September 7, 200916 yr If the array is started that may be the problem, try stopping the array and then using the command again Wrong answer... If you stop the array, the /dev/md1 device will not exist. The answer is to follow the instructions given in the wiki and to un-mount the device first, then to run reiserfsck on it. Instructions are here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems Joe L. OK, that makes sense. I was under the impression that stopping the array unmounted the drives but would still allow access to /dev/mdX. Now I know better If you stop the array and fixed the file-system on the raw disk it would not fix parity. To fix parity too, the array must be running.
September 7, 200916 yr Author If the array is started that may be the problem, try stopping the array and then using the command again Wrong answer... If you stop the array, the /dev/md1 device will not exist. The answer is to follow the instructions given in the wiki and to un-mount the device first, then to run reiserfsck on it. Instructions are here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems Joe L. I followed those instructions and still got the "Partition /dev/md1 is mounted with write permissions, cannot check it" Any ideas?"
September 7, 200916 yr If the array is started that may be the problem, try stopping the array and then using the command again Wrong answer... If you stop the array, the /dev/md1 device will not exist. The answer is to follow the instructions given in the wiki and to un-mount the device first, then to run reiserfsck on it. Instructions are here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems Joe L. I followed those instructions and still got the "Partition /dev/md1 is mounted with write permissions, cannot check it" Any ideas?" What did you get when you typed the "umount" command A file system cannot be un-mounted if it is busy. It is busy if a file on it is open, or if a directory on i is the "current" directory of a process. The first step in the instructions were to stop the samba process. (It would keep the disks busy, and if running would prevent them from being un-mounted) Until you un-mount the partition, you will not be able to check it. If you have other processes using the disk, they will prevent you from un-mounting it. Any add-ons you have running that are using it must be stopped. Joe L.
Archived
This topic is now archived and is closed to further replies.