Network Space Max OpenShare Volumes lost

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Sun Feb 16, 2020 9:49 pm

So The raid is clean and the issue must be on the fs.
Check if you can mount /dev/md4
Code: Select all
mkdir /md4
/usr/sbin/mount /dev/md4 /md4
If there is no error explore its content
Code: Select all
ls -l /md4
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 12:33 pm

Hi,
I sent the mount command 20 minutes ago. Do you think that is hanged or I have to wait?

thx
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 1:38 pm

Yes it is nearly the expected behaviour with a corrupted fs.
Try to do 'Ctrl+c' do abort it

Now you will need an empty USB stick (at least 1Gb size ) as there is no enough memory available on your nwsp max. The usb stick must be empty because we go to format it

I need a bit time to post the next commands
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 1:59 pm

So the first step is formatting the usb stick :
- plug it
and run
Code: Select all
udevstart
and look at its partition table
Code: Select all
fdisk -l /dev/sdc
(should get as kernel device name: sdc. If it fails to find sdc, please to post the output
Code: Select all
cat /proc/partitions
, and do not continue further )
- create a new table
Code: Select all
fdisk /dev/sdc
                                  Then do(delete the current partition, I assume there is only one)
d
1
                                  (create a new one)
n
p
1
1
1000

t
1
82
w
next is to create the swap system on sdc1
Code: Select all
mkswap /dev/sdc1
and bring up the new swap partition
Code: Select all
swapon /dev/sdc1
Check if you get a not empty swap size with the command
Code: Select all
free

If yes, you can now try again to run the xfs_repair command
Code: Select all
tftp -l /sbin/xfs_repair -r xfs_repair -g IP-PC
chmod a+x /sbin/xfs_repair
(IP-PC is the IP address of your laptop like 192.168.1.xx)
and run it
Code: Select all
xfs_repair /dev/md4
If you want to make a check without fixing (just list what actions are required), you can add the option '-n' in this command
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 2:10 pm

CTRL+C doesn't work. I'll disconnect and reconnect but could you give me a command to reboot the NAS? I tried
Code: Select all
reboot
shutdown -r

but nothing happens.

tnx
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 2:18 pm

What you can do:
is to open another telnet window (there is an option in the Actions menu of fvdw-sl console)
and after logging, post
Code: Select all
ps -ef
(Then I will give you what process must be killed)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 2:26 pm

Code: Select all
 441 root       0:00 [spi0]
  495 root       0:00 [aoe_tx0]
  496 root       0:00 [aoe_ktio0]
  512 root       0:00 [raid5wq]
  514 root       0:00 [dm_bufio_cache]
  515 root       0:00 [kmpathd]
  516 root       0:00 [kmpath_handlerd]
  524 root       0:00 [mv_crypto]
  534 root       0:00 [ipv6_addrconf]
  541 root       0:00 [deferwq]
  566 root       0:00 [kworker/0:2]
  601 root       0:00 /sbin/discoverd
  612 root       0:01 /sbin/telnetd
  616 root       0:00 /sbin/buttons-nwsp2
  899 root       0:00 [devnod]
 1238 root       0:00 -sh
 1314 root       0:00 [kworker/0:1H]
 1421 root       0:00 [bioset]
 1440 root       0:00 /usr/sbin/mount /dev/md4 /md4
 1441 root       0:00 [xfs-data/md4]
 1442 root       0:00 [xfs-conv/md4]
 1443 root       0:00 [xfs-cil/md4]
 1444 root      35:09 [xfsaild/md4]
 1446 root       0:00 -sh
 1461 root       0:00 ps -ef
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 2:26 pm

Code: Select all
root@fvdw-sta-kirkwood:/ # ps -ef
PID   USER     TIME   COMMAND
    1 root       0:04 /bin/sh
    2 root       0:00 [kthreadd]
    3 root       0:00 [ksoftirqd/0]
    4 root       0:15 [kworker/0:0]
    5 root       0:00 [kworker/0:0H]
    7 root       0:00 [rcu_preempt]
    8 root       0:00 [rcu_sched]
    9 root       0:00 [rcu_bh]
   10 root       0:00 [khelper]
   11 root       0:00 [kworker/u2:1]
  219 root       0:00 [writeback]
  221 root       0:00 [bioset]
  223 root       0:00 [kblockd]
  228 root       0:00 [ata_sff]
  239 root       0:00 [khubd]
  245 root       0:00 [md]
  255 root       0:00 [cfg80211]
  271 root       0:00 [rpciod]
  281 root       0:00 [kswapd0]
  282 root       0:00 [fsnotify_mark]
  283 root       0:00 [nfsiod]
  287 root       0:00 [xfsalloc]
  288 root       0:00 [xfs_mru_cache]
  289 root       0:00 [xfslogd]
  290 root       0:00 [crypto]
  418 root       0:00 [scsi_eh_0]
  419 root       0:00 [scsi_tmf_0]
  422 root       0:00 [scsi_eh_1]
  423 root       0:00 [scsi_tmf_1]
  426 root       0:00 [kworker/u2:2]
  433 root       0:00 [smflush]
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 2:33 pm

is it fully posted the output ? at least we should have a telnet process which is missing on your listing :scratch
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 2:34 pm

you can try with
Code: Select all
ps axf
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 8 guests