NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jrover
Nov 19, 2019Guide
Corrupted /dev/md0 in OS6.10.2 ReadyNAS Ultra 6 starts in safe mode
Hi All, Recently the ReadyNAS Ultra 6 I've been running 6.10.1 prompted me to upgrade to 6.10.2. Although I was doing other copy operations, I decided to queue it up for the next time I rebooted....
StephenB
Nov 19, 2019Guru - Experienced User
jrover wrote:
I also read in another thread there was a way to wipe the boot volume and rebuild it, but I'm not sure how. Any help or ideas for patching this system would be much appreciated.
Thanks!
Support could rebuild it, but I've never seen anything specific on the steps. And of course, support won't help in your case since you running OS-6 on a legacy NAS.
If it were my system, I would do a factory default, rebuild the NAS and restore the data from the backup.
You could attempt to do a btrfs check --repair instead, but you can only do that on an unmounted file system. If that seems to work, then perhaps follow it up with an over-install of OS 6.10.2.
jrover
Nov 19, 2019Guide
Hi StephenB ,
Thanks for your advice. I did pull all my disks, add a spare single drive and did a factory reset and the NAS built a new volume and functioning installation --- so I know that will work. I'll spend more time backing up absolutely everything try the btrfs check --repair /dev/md0 and if that doesn't help, I'll do a factory reset with the 4 original drives installed.
Thanks
- eduj7imFeb 10, 2020Aspirant
Hi Jrover,
I have a similar issue.
Would appreciate if you could shed some light how to backup some files on tech-support mode?
This is my Thread
- jroverFeb 10, 2020Guide
Hi eduj7im
I followed these directions to telnet to my system via tech support mode:
(keep reading the comments and you'll see some additional context for the following set of commands in the replies, in case the below don't work for you)
then I typed:
/> start_raids
(assuming you don't have a directory named, "MY_NAS_VOL" at root)
/> mkdir /MY_NAS_VOL
(if you list the devices in /dev (ls /dev), you should have /dev/md0 which is your root partition and /dev/md127 which is your data at least these were the names on my Readynas Ultra 6+)
/> mount /dev/md127 /MY_NAS_VOL
Now mount the USB drive, these instructions should help:
https://askubuntu.com/questions/37767/how-to-access-a-usb-flash-drive-from-the-terminal
/> lsblk
/> mkdir /MY_USB_VOL
/> mount /dev/sdbX /MY_USB_VOL
(replace 'X' with the /dev/sdb1 or /dev/sdb2, etc. you get from the lsblk command)
Note: I used a drive already partitioned for FAT32 and under 2TB in order to be mounted and visible. (Here are some formatting instructions in case you have a fresh drive with no partitions https://www.redips.net/linux/create-fat32-usb-drive/ If you have trouble mounting, the partition may be unrecognized or too big ---- not sure if there are limitations in tech support mode on format-types)
Copy the files you want from /MY_NAS_VOL to /MY_USB_VOL
/> cp -rp /MY_NAS_VOL/data /MY_USB_VOL/data
That command attempts to keep permissions / date-time-stamps / etc.
Hope this helps.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!