× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

RN316 does no finish booting and OS install gives error "could not extracting files) last FW

helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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,

Message 26 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@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/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


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:/# 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.45MiB

 

Thanks 🙂

Message 27 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@StephenB 

 

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

Message 28 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@StephenB  Is it ok to reboot and try a OS reinstall at this point?

Message 29 of 109
StephenB
Guru

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@helio wrote:

@StephenB  Is it ok to reboot and try a OS reinstall at this point?


I'm not sure if it will help, but I think it is ok to try it.

 

Do you have a backup of the NAS data files?

Message 30 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@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

Message 31 of 109
StephenB
Guru

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@helio wrote:

 

ok, how to backup from the support mode?

 


Try entering 

systemctl start smb.service

Then see if you can access the shares from the PC.


Message 32 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

I got this:

systemctl start smb.service
Running in chroot, ignoring request.

Message 33 of 109
StephenB
Guru

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@helio wrote:

I got this:

systemctl start smb.service
Running in chroot, ignoring request.


Try

service smb start

 

Message 34 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

root@3C62350D01347:/# service smb start
smb: unrecognized service

Message 35 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@StephenB service smb start did not work either.

Any other ideas? There has got to be a way to backup a mounted volume, after all this years...

I just want to get the data backed up and done with.

Thanks.

Message 36 of 109
mdgm
Virtuoso

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

Message 37 of 109
mdgm
Virtuoso

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@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.89MiB


That'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.

Message 38 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

Message 39 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@mdgm HI, how do I delete the files that can be deleted safely on the metadata location?

Thanks,

Message 40 of 109
StephenB
Guru

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F



The concern here is the OS partition, not the shares.

 

What apps are you running?  In particular are you running plex?

 

 

Message 41 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

 

Message 42 of 109
Sandshark
Sensei

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

Message 43 of 109
mdgm
Virtuoso

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@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.

Message 44 of 109
Sandshark
Sensei

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@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.

Message 45 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

Message 46 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

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.

Message 47 of 109
StephenB
Guru

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F


@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.

 

 

Message 48 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@StephenB , hey, thanks for replying. Mine seems to be missing the last lines "var" and "total"

0 apps
6.4M bin
0 boot
0 data
24K dev
11M etc
30M frontview
0 home
0 job_001
33M lib
4.0K lib64
4.0K media
0 mnt
4.2M opt
0 proc
16K root
0 run
11M sbin
0 srv
0 sys
4.0K syslog
4.0K tmp
484M usr

Message 49 of 109
helio
Aspirant

Re: RN316 does no finish booting and OS install gives error "could not extracting files) last F

@StephenB , the missing appeared later:


3.9G var
4.4G total

 

Message 50 of 109
Top Contributors
Discussion stats
  • 108 replies
  • 3107 views
  • 14 kudos
  • 4 in conversation
Announcements