rcmpayne Posted December 27, 2014 Share Posted December 27, 2014 Hello All, Today i loaded unraid menu and seen that my cache drive is showing Unformatted. wanted to see what steps i should follow in hopes to have the disk restored as it holds all my config files and such. seems i can access the disk via putty telnet so i am doing a cp -r /mnt/cache /mnt/disk5 now to copy the data WD-WCAV52771708: OK - ATA_Error_Count is 5 WD-WCAV52771708: WARNING - Power_On_Hours it is now 38314 (warning threshold is 20000) Q1: Can cache drive data be restored on a parity check? Q2: Whats the best way to replace my disk (even in the event that i was not able to copy the data) Quote Link to comment
dgaschk Posted December 28, 2014 Share Posted December 28, 2014 See check disk filesystems in my sig. Quote Link to comment
rcmpayne Posted December 28, 2014 Author Share Posted December 28, 2014 1. stopped the array 2. started the array in main mode 3. found the location for the cache drive "/dev/sdc1" 4. ran the following: reiserfsck --check /dev/md1 Error: unraid Partition /dev/sdc1 is mounted with write permissions, cannot check it Quote Link to comment
dgaschk Posted December 28, 2014 Share Posted December 28, 2014 See here: http://lime-technology.com/wiki/index.php?title=Check_Disk_Filesystems#Preparing_to_run_reiserfsck Quote Link to comment
rcmpayne Posted December 28, 2014 Author Share Posted December 28, 2014 Ran with just /dev/sdc and got this root@SERVER:/dev# reiserfsck --check /dev/sdc reiserfsck 3.6.24 Will read-only check consistency of the filesystem on /dev/sdc Will put log info to 'stdout' Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes reiserfs_open: the reiserfs superblock cannot be found on /dev/sdc. Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with --rebuild-sb. Quote Link to comment
RobJ Posted December 28, 2014 Share Posted December 28, 2014 Do NOT run it on /dev/sdc! You can do serious harm to your data that way. It should only be run on /dev/sdc1, that extra digit 'one' is VERY important! Quote Link to comment
rcmpayne Posted December 28, 2014 Author Share Posted December 28, 2014 sure, this is why i have the thread open . So when i do it with /dev/sdc1 i get Error: unraid Partition /dev/sdc1 is mounted with write permissions, cannot check it not sure how to address this. I've followed the steps on the post you provided. Quote Link to comment
RobJ Posted December 28, 2014 Share Posted December 28, 2014 sure, this is why i have the thread open . So when i do it with /dev/sdc1 i get Error: unraid Partition /dev/sdc1 is mounted with write permissions, cannot check it not sure how to address this. I've followed the steps on the post you provided. I'm afraid I'm at a loss, with respect to that error message. I've never seen it occur before, and we ALWAYS run it with write permissions, how else could it fix any issues?!?! I'm hoping there's someone else here that has run across this situation. Quote Link to comment
Alexandro Posted December 28, 2014 Share Posted December 28, 2014 Every single time I have a power loss for more than a 3 minutes my UPS stop the array. When the power is back on and I log into the web interface to start the array the cache is always showing as unformatted after the array is already started. Only a reboot of the server is solving this issue. I am using Unraid 5.0 Quote Link to comment
itimpi Posted December 28, 2014 Share Posted December 28, 2014 The error message appears when you try and do a reiserfsck on a disk that has been mounted by unraid. This is one of the reasons for being in maintenance mode as in that mode the disks are not mounted (but the /dev/md? devices for the data disks are available). You implied that you put the array into maintenance mode, and in that mode the cache disk should not have been mounted. If the cache disk is /dev/sdc, then you would run the reiserfsck against /dev/sdc1. If you are getting an error message then that implies the disk was mounted outside unRAID or you are not in maintenance mode. If you want to check what devices are mounted then use the 'df' command from a telnet session. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.