Network Space Max OpenShare Volumes lost

Re: Network Space Max OpenShare Volumes lost

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

Code: Select all
root@fvdw-sta-kirkwood:/ # ps axf
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]
  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      38:14 [xfsaild/md4]
 1446 root       0:00 -sh
 1475 root       0:00 ps axf
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:43 pm

So try to kill the process 1440
Code: Select all
kill -9 1440
then repeat the ps command to check if mount command is really aborted and then the first telnet window should no longer be hanged
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:54 pm

nothing|:-( it doesn't stop. I tried many times but the process remain alive. I see that doesn't exist "sudo" command.
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 3:19 pm

You can try with another kill signal
Code: Select all
kill -15 1440


If no change, then you need to stop the nas (you can try the command halt but not sure that works) and restart the fvdw-sl console.
So after getting the new telnet window, you have to repeat some actions: load the tools package, re-assemble the raid md4 and then do the actions how to repair the fs
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 6:06 pm

Jocko wrote: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 ((this make the type of filesystem at FAT12. I think that it is a misprint or you want to write L for list))
82
w
next is to create the swap system on sdc1
Code: Select all
mkswap /dev/sdc1
((after this command I have this message))
Code: Select all
root@fvdw-sta-kirkwood:/ # mkswap /dev/sdc1
mkswap: lseek: Value too large for defined data type

This is the output of fdisk -l
Code: Select all
root@fvdw-sta-kirkwood:/ # fdisk -l /dev/sdc

Disk /dev/sdc: 4018 MB, 4018192384 bytes
124 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdc1               1        1000     3843969  82 Linux swap

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
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 7:02 pm

I resolved and this is the result of repair
Code: Select all
root@fvdw-sta-kirkwood:/ # xfs_repair /dev/md4
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 7:21 pm

I'm trying with -L option ... finger crossed
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 8:16 pm

GREAT! I see the fs!
I mounted /md4 on /dev/md4 and I see the content.
But now if I reboot the NAS I'll see the shares OpenShare and MyShare or should I do something else?

thanks for you help. you are a great guy.

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

Re: Network Space Max OpenShare Volumes lost

Postby pasqualeCatucci » Mon Feb 17, 2020 8:18 pm

after copying all my data to another storage I would like to install your firmware on the NAS, with your help, if you want :-)
pasqualeCatucci
 
Posts: 22
Joined: Thu Feb 13, 2020 1:52 pm

Re: Network Space Max OpenShare Volumes lost

Postby Jocko » Mon Feb 17, 2020 9:04 pm

:-D Nice to heard the fs is now clean.
Did you reboot the nas ? Now you should see your share :?:

You can explore a fake of fvdw-sl web-interface if you want before installing our firmware.

With fvdw-sl console you can install it without manual action
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 7 guests