NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
helio
Sep 23, 2021Aspirant
RN316 does no finish booting and OS install gives error "could not extracting files) last FW
Hi all, without any warnings the RN3165 stopped completing the boot at about 99%. On the first day I could login and see one fan only working. It looks the power supply fan is dead. Tried the OS r...
StephenB
Sep 30, 2021Guru - Experienced User
helio wrote:
Meanwhile the balance gave an error:
Starting balance without any filters.
ERROR: error during balancing '//': No space left on device
There may be more info in syslog - try dmesg | tail
Try
btrfs balance start -dusage=0 //
and see if that completes.
If it does, try increasing dusage in steps (try 50 next)
helio wrote:
It is not using X-Raid but Flex-Raid.
is the command the same if not, please, let me know,
If you have a single volume, then the only thing you need to change is the volume name (/data) on the last command. That needs to be your volume name (which you specified when you created the volume).
helio
Sep 30, 2021Aspirant
Hi, it did not work, still cannot see my data shares:
Scanning for Btrfs filesystems
root@3C62350D01347:/# btrfs fi show
Label: '0ed5edda:root' uuid: ae33cd9d-ca6c-4cfa-9b1d-eec946243757
Total devices 1 FS bytes used 2.13GiB
devid 1 size 4.00GiB used 4.00GiB path /dev/md0
Label: '0ed5edda:data' uuid: cf02b0e0-e9f7-4b61-b57e-26975417ebb4
Total devices 3 FS bytes used 12.68TiB
devid 1 size 9.07TiB used 7.68TiB path /dev/md127
devid 2 size 4.55TiB used 3.15TiB path /dev/md126
devid 3 size 4.55TiB used 3.15TiB path /dev/md125
root@3C62350D01347:/# mount /dev/md127 /data
- StephenBSep 30, 2021Guru - Experienced User
helio wrote:
I rebooted after running
mount /dev/md127 /data
to see if it worked.
Did you reboot normally?
If you did, reboot in tech support mode again, and repeat the steps until you get the data volume mounted. (Don't try the balance).
At that point I think you should back up all the data, and do a factory default (setting up the NAS again). We can start the SMB service if you need to back up over the network.
- helioOct 01, 2021Aspirant
HI, yesterday, I got no error after running the mount cmd so I rebooted in normal mode to see if the data was available.
since then I get the error not a btrfs filesystem
at this point all I want is to back up the date but it says
# mount /dev/md127 /Data
mount: mounting /dev/md127 on /Data failed: No such file or directory
# btrfs fi df //
ERROR: not a btrfs filesystem: //how to get the btrfs up again and start SMB backup?
Thanks,
- helioOct 01, 2021Aspirant
StephenB Hello, Here are my last results, is it ready to start SMB backup or how to recover the data?
# rnutil chroot
root@3C62350D01347:/# btrfs fi df //
Data, single: total=3.01GiB, used=1.44GiB
System, DUP: total=8.00MiB, used=16.00KiB
Metadata, DUP: total=497.50MiB, used=479.89MiB
GlobalReserve, single: total=240.00MiB, used=222.45MiB
root@3C62350D01347:/# btrfs device scan
Scanning for Btrfs filesystems
root@3C62350D01347:/# btrfs fi show
Label: '0ed5edda:root' uuid: ae33cd9d-ca6c-4cfa-9b1d-eec946243757
Total devices 1 FS bytes used 2.13GiB
devid 1 size 4.00GiB used 4.00GiB path /dev/md0Label: '0ed5edda:data' uuid: cf02b0e0-e9f7-4b61-b57e-26975417ebb4
Total devices 3 FS bytes used 12.68TiB
devid 1 size 9.07TiB used 7.68TiB path /dev/md127
devid 2 size 4.55TiB used 3.15TiB path /dev/md126
devid 3 size 4.55TiB used 3.15TiB path /dev/md125root@3C62350D01347:/# mount /dev/md127 /data
root@3C62350D01347:/# btrfs fi show
Label: '0ed5edda:root' uuid: ae33cd9d-ca6c-4cfa-9b1d-eec946243757
Total devices 1 FS bytes used 2.13GiB
devid 1 size 4.00GiB used 4.00GiB path /dev/md0Label: '0ed5edda:data' uuid: cf02b0e0-e9f7-4b61-b57e-26975417ebb4
Total devices 3 FS bytes used 12.68TiB
devid 1 size 9.07TiB used 7.68TiB path /dev/md127
devid 2 size 4.55TiB used 3.15TiB path /dev/md126
devid 3 size 4.55TiB used 3.15TiB path /dev/md125root@3C62350D01347:/# dmesg | tail
[ 1631.881384] disk 3, o:1, dev:sdd5
[ 1631.881388] disk 4, o:1, dev:sde5
[ 1631.881622] md125: detected capacity change from 0 to 5000299151360
[ 1631.897822] EXT4-fs (md0): VFS: Can't find ext4 filesystem
[ 1631.898045] BTRFS: device label 0ed5edda:root devid 1 transid 2574192 /dev/md0
[ 1631.898746] BTRFS info (device md0): has skinny extents
[ 1711.771459] BTRFS: device label 0ed5edda:data devid 3 transid 4126974 /dev/md125
[ 1711.771548] BTRFS: device label 0ed5edda:data devid 2 transid 4126974 /dev/md126
[ 1711.771665] BTRFS: device label 0ed5edda:data devid 1 transid 4126974 /dev/md127
[ 1739.346811] BTRFS info (device md127): has skinny extents
root@3C62350D01347:/# btrfs fi df //
Data, single: total=3.01GiB, used=1.44GiB
System, DUP: total=8.00MiB, used=16.00KiB
Metadata, DUP: total=497.50MiB, used=479.89MiB
GlobalReserve, single: total=240.00MiB, used=222.45MiBThanks :)
- helioOct 01, 2021Aspirant
Yes, great, I see the shares : sorry I am slow to pick it up:
root@3C62350D01347:/# ls /data
AmazonCloudDrive DZI DropBox HdAProdz OneDrive Software Videos uFreak
Audio Documentation Freaks Music Pictures Transfer eBooks
BackUp Documents GDrive ODB Podcasts VSTIData home - helioOct 01, 2021Aspirant
StephenB , Hey, I do not have a backup of the data.
I would rather not reboot and get a SMB backup started.
I tried to start a backup from the PC but the RN316 would not accept my credentials when attempting to validate the source or could that just be the lack of SMB installed?
ok, how to backup from the support mode?
thanks
- helioOct 01, 2021Aspirant
I got this:
systemctl start smb.service
Running in chroot, ignoring request. - helioOct 03, 2021Aspirant
root@3C62350D01347:/# service smb start
smb: unrecognized service - mdgmOct 03, 2021Virtuoso
To start smb from the chroot involves a few commands including starting smbd using the path of the binary.
Though it would probably be best to free up some space on the 4GB root volume first. You're using a lot of space on the 4GB root volume. There should be some log files that have grown large or some files that shouldn't be on the root volume or something else going on. - mdgmOct 03, 2021Virtuoso
helio wrote:root@3C62350D01347:/# btrfs fi df //
Data, single: total=3.01GiB, used=1.44GiB
System, DUP: total=8.00MiB, used=16.00KiB
Metadata, DUP: total=497.50MiB, used=479.89MiBThat's a lot of metadata for the 4GB root volume. Mine has 10.89MiB used out of 204.56MiB.
Metadata is data about data. Every file has metadata associated with it. A high amount of metadata could suggest that you may have a huge number of files on the 4GB root volume e.g. from an app storing data there that should be on the data volume.
- helioOct 04, 2021Aspirant
Hi, when I try to balance it says there is no space.
How and what can be deleted without issues?
I could delete the DropBox and OneDrive shares if that would help to make room to do an OS reinstall.
Please, advise on that and on how to get a backup once the Volume is mounted in Telnet.
Thanks.
- StephenBOct 04, 2021Guru - Experienced User
The concern here is the OS partition, not the shares.
What apps are you running? In particular are you running plex?
- helioOct 04, 2021Aspirant
I think there is an old version of Plex installed but it hasn't be run since long ago.
I always use the Plex version installed on the computer.
Is it safe to clear the Metadata folder and how to do it?
is it so hard to get the SMB service up and running?
Thanks for all.
- SandsharkOct 04, 2021Sensei
Metadata is not a folder, it's a part of the file system, somewhat akin to a files allocation table. A scrub is the way it's normally trimmed, but you've run out of space for that.
- mdgmOct 05, 2021Virtuoso
Sandshark wrote:A scrub is the way it's normally trimmed, but you've run out of space for that.
Where did you read that? A btrfs scrub reads all data and metadata blocks and verifies checksums.
Considering that metadata is data about data. The way to delete metadata is to delete the data it's describing.helio wrote:
I think there is an old version of Plex installed but it hasn't be run since long ago.
Plex is an app that creates a lot of small files, I think. If it wasn't configured correctly and stored a lot of these on the 4GB root volume that could explain the large amount of metdata.
You'd have to look around the 4GB root volume to confirm whether it's there or not. The basics of how to do that have been posted a number of times on the community. - SandsharkOct 05, 2021Sensei
mdgm wrote:
Sandshark wrote:A scrub is the way it's normally trimmed, but you've run out of space for that.
Where did you read that? A btrfs scrub reads all data and metadata blocks and verifies checksums.
Oops, I meant balance. I'm not sure if the balance itself does it, or the process of doing so kickstarts the automatic expansion process, but I have definately seen more metadata as a result after I partially vertically expanded a volume and no metadata was added at that time.
- helioOct 05, 2021Aspirant
As I am quite busy at work and not versed in Linux, a kind sharing of the syntax and CML needed would be quite useful to me, rather then to tell me to go search on a certain web space which is also full of all kinds of stuff.
Thank you.
- helioOct 09, 2021Aspirant
Hi all, could anyone, please, share the syntax for the commands to get into the folder that is full and delete the ok-to-delete files so that I can do OS reinstall? Thank you.
- StephenBOct 09, 2021Guru - Experienced User
helio wrote:
Hi all, could anyone, please, share the syntax for the commands to get into the folder that is full and delete the ok-to-delete files so that I can do OS reinstall? Thank you.
First you need to find out what is full.
Enter these commands in ssh (logging in as root), and post the results
mount --bind / /mnt cd /mnt du -csh *
On my RN524, I am getting this:
0 apps 6.4M bin 0 boot 0 data 24K dev 11M etc 30M frontview 0 ftp_ban.tbl 0 home 4.0K homes 33M lib 4.0K lib64 0 media 0 mnt 4.6M opt 0 proc 36K root 0 run 11M sbin 0 srv 0 sys 0 tmp 290M usr 682M var 1.1G total
Comparing my results with yours will help us find out where the extra space is going.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!