Dashboard opens with blank only

Re: Dashboard opens with blank only

Postby fvdw » Tue Apr 06, 2021 4:17 pm

I am afraid we are running out of options here to repair your file system. I do not now an option anymore. But maybe mijzelf or jocko have still an idea.

Ps you can post the content of passwd and shadow file using the pm (private message) if you don't want to post it here. In any case nobody can figure out your password as they are encrypted
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fvdw » Tue Apr 06, 2021 7:00 pm

Maybe this is still a try worth

Connect to lacie firmware and assemble the array.

Then list all backup superblocks
The -N option causes the file system parameters to be printed out without really creating the file system
Code: Select all
mkfs.xfs -N /dev/md4
This should produce a list of backup superblocks

Now try to mount the array by using one of these blocks
[ code]
mount -o sb=alternative-superblock /dev/md4 /mnt-point[/code]
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Tue Apr 06, 2021 9:09 pm

Unfortunately, the PC I'm using had an "AHCI port0 device error".
Losing some time to install windows on a new HD.
Will try your recommendations later this week.
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fariaslcfs » Thu Apr 08, 2021 2:32 pm

fvdw wrote:Maybe this is still a try worth
Connect to lacie firmware and assemble the array.
Then list all backup superblocks
The -N option causes the file system parameters to be printed out without really creating the file system
Code: Select all
mkfs.xfs -N /dev/md4
This should produce a list of backup superblocks


Code: Select all
[root@(none) /]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md4 : active raid5 sda2[0] sde2[5] sdd2[3] sdc2[2] sdb2[1]
      7805490688 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]

md3 : active raid1 sda5[0] sdb5[4] sdc5[3] sdd5[2] sde5[1]
      256896 blocks [5/5] [UUUUU]

md2 : active raid1 sda9[0] sdb9[4] sdc9[3] sdd9[2] sde9[1]
      875392 blocks [5/5] [UUUUU]

md1 : active raid1 sda8[0] sdb8[4] sdc8[3] sdd8[2] sde8[1]
      851328 blocks [5/5] [UUUUU]

md0 : active raid1 sde7[4] sdd7[3] sdc7[2] sdb7[1] sda7[0]
      7936 blocks [5/5] [UUUUU]

unused devices: <none>
[root@(none) /]# mkfs.xfs -N /dev/md4
meta-data=/dev/md4               isize=256    agcount=32, agsize=60980400 blks
         =                       sectsz=4096  attr=2
data     =                       bsize=4096   blocks=1951372672, imaxpct=5
         =                       sunit=16     swidth=64 blks, unwritten=1
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=32768, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=0
realtime =none                   extsz=262144 blocks=0, rtextents=0


fvdw wrote:Now try to mount the array by using one of these blocks
[ code]
mount -o sb=alternative-superblock /dev/md4 /mnt-point[/code]

Where is the "code" info from the mkfs command?
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Thu Apr 08, 2021 8:24 pm

mmm...seems mkfs.xfs doesnot output this (on ext3 file system it does produce a list of superblocks)

Anyhow is the xfs_db available on your nas ?

If so try
Code: Select all
xfs_db /dev/md4

at xfs_db> prompt give commands sb and p and see if it list content of the superblock
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Tue Apr 13, 2021 5:17 pm

fvdw wrote:mmm...seems mkfs.xfs doesnot output this (on ext3 file system it does produce a list of superblocks)

Anyhow is the xfs_db available on your nas ?

If so try
Code: Select all
xfs_db /dev/md4

at xfs_db> prompt give commands sb and p and see if it list content of the superblock

Sorry for the delay.
It follows the result of the commands you asked for:
Code: Select all
[root@(none) ~]# xfs_db /dev/md4
xfs_db: unexpected XFS SB magic number 0x00000000
xfs_db: size check failed
cache_node_purge: refcount was 1, not zero (node=0x8e678)
xfs_db: cannot read root inode (22)
xfs_db> sb
xfs_db> p
magicnum = 0
blocksize = 0
dblocks = 0
rblocks = 0
rextents = 0
uuid = 00000000-0000-0000-0000-000000000000
logstart = 0
rootino = 0
rbmino = 0
rsumino = 0
rextsize = 0
agblocks = 0
agcount = 0
rbmblocks = 0
logblocks = 0
versionnum = 0
sectsize = 0
inodesize = 0
inopblock = 0
fname = "\000\000\000\000\000\000\000\000\000\000\000\000"
blocklog = 0
sectlog = 0
inodelog = 0
inopblog = 0
agblklog = 0
rextslog = 0
inprogress = 0
imax_pct = 0
icount = 0
ifree = 0
fdblocks = 0
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 0
unit = 0
width = 0
dirblklog = 0
logsectlog = 0
logsectsize = 0
logsunit = 0
features2 = 0
bad_features2 = 0
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Tue Apr 13, 2021 6:55 pm

That looks bad, superblock is empty

What output do you get when using
Code: Select all
xfs_db>sb 1
xfs_db>p


You can also try 2,3,4...etc
If these superblocks are also empty then it becomes very doubtful if some data can be rescued :?
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Tue Apr 13, 2021 7:19 pm

fvdw wrote:That looks bad, superblock is empty
What output do you get when using
Code: Select all
xfs_db>sb 1
xfs_db>p

You can also try 2,3,4...etc
If these superblocks are also empty then it becomes very doubtful if some data can be rescued :?

Tried up to 10 sb 11 but allways "bad allocation group number n". So... :sob (the end?)
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Tue Apr 13, 2021 7:35 pm

Sorry to hear that, I do not know an option anymore to repair this file system but I am not an xfs expert.
xfs_db has many options and commands that might be used for manual repair. But I have no experience with that :dontknow

As last check we can test if we have bad blocks on beginning of the disk.
Code: Select all
dd if=/dev/md4 of=md4.img bs=512 count=1000

This will read the first 1000 sectors of the disk and produce a file of 0.5 MB. If read fails it might indicate that problem may be caused by bad blocks on the disk
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Tue Apr 13, 2021 7:41 pm

Result:
Code: Select all
[root@(none) /]# dd if=/dev/md4 of=md4.img bs=512 count=1000
1000+0 records in
1000+0 records out

The file md4.img was created. Opened it with vi and see in its beginning:
Code: Select all
^A^@^B^@^@^@^@^@ ^@^@^@^@^@ ^@^@^@^@^@^@^A^@^@^@@^P^@^@^@^@^@^@^@^Q^@^@^@^H^@^P^
 ^@▒^@▒^P▒^@^H^@^@^@^B^@^@^@^@^H^@^@^@^@^@^@^A^@^D^@^D^@^@^H^@^@^@^@^@@^@^@^@^@^
^@^A^@^@^A^@^P^@^@^@^@^@^@^@^@^@^B^D^@^D^A^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^R^@
^@^@^@^@^@▒^@^@^@^@^@^@▒ ^@^@^@▒^@^@^@^@^H^@^@^@^@^@^@^@▒^@^@^@^@^@^@^@^@^@^@!^@
^@^@^R^@^@ ^@^@ ^@^@^@^@^D ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^A^H^@@^P^@^@^@^@^@^@^@
^A^@^B^@^@^@^@^@ ^@^@^@^@^@ ^@^@^@^@^@^@^A^@^@^@@^P^@^@^@^@^@^@^@^Q^@^@^@^H^@^P^
 ^@▒^@▒^P▒^@^H^@^@^@^B^@^@^@^@^H^@^@^@^@^@^@^A^@^D^@^D^@^@^H^@^@^@^@^@@^@^@^@^@^
^@^A^@^@^A^@^P^@^@^@^@^@^@^@^@^@^B^D^@^D^A^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^R^@
^@^@^@^@^@▒^@^@^@^@^@^@▒ ^@^@^@▒^@^@^@^@^H^@^@^@^@^@^@^@▒^@^@^@^@^@^@^@^@^@^@!^@
^@^@^R^@^@ ^@^@ ^@^@^@^@^D ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^A^H^@@^P^@^@^@^@^@^@^@
~
~
~
~
~
~
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 4 guests