Lacie 5Big2 Failed After Firmware Update

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Thu Jul 11, 2013 5:58 pm

that meas we can write to the usb disk.

now try to create a directoroy with name /mountpoint/backup/3/2013/
Code: Select all
mkdir /mountpoint/backup/3/2013/

this will only succeed if the folders /mountpoint/backup and mountpoint/backup/3 already exists
if they do not exists create those first
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Thu Jul 11, 2013 6:04 pm

and then create /mountpoint/backup/3/2013/01 - January

A problem here could be the spaces in the file name
probaly you will need to use quotes around them
Code: Select all
mkdir '/mountpoint/backup/3/2013/01 - January'

if you use this
Code: Select all
mkdir /mountpoint/backup/3/2013/01 - January

it will create a folder with name /mountpoint/backup/3/2013/01
And this could be the problem why cp command fails (the missing quotes in case there are spaces in the file name)
How to solve that I need to think about
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Thu Jul 11, 2013 6:16 pm

Yes it worked with quotes. Without, it fails...

root@(none):/mountpoint/backup # mkdir '/mountpoint/backup/3/2013/01 - January'
root@(none):/mountpoint/backup # mkdir /mountpoint/backup/3/2013/01 - February
root@(none):/mountpoint/backup # ls /mountpoint/backup/3/2013/
01 01 - January
root@(none):/mountpoint/backup #
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Thu Jul 11, 2013 6:17 pm

What about seeing if we can get the ftp server running instead and I copy the files that way? FTPd is more forgiving, no?
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby Mijzelf » Thu Jul 11, 2013 6:33 pm

Did you already try my suggestion
Code: Select all
tcpsvd -vE 0.0.0.0 21 busybox ftpd /mp2
Mijzelf
 
Posts: 254
Joined: Wed Nov 21, 2012 9:12 am

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Thu Jul 11, 2013 6:50 pm

The following makes ftp server running in the sdtandalone kernel on my nwsp2

Code: Select all
ln -s /bin/busybox /bin/ftpd
tcpsvd -vE 192.168.1.252 21 ftpd /


connecting to it with filezilla works ok (use ip 192.168.1.252 to connect to, assume you used that as well in telnet client)
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Thu Jul 11, 2013 6:53 pm

address is still bound from before. How do I unbind it?

root@(none):/ # tcpsvd -vE 0.0.0.0 21 busybox ftpd /mp2
tcpsvd: bind: Address already in use
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby Mijzelf » Thu Jul 11, 2013 6:54 pm

killall tcpsvd

I think. And else, just take another port.
Mijzelf
 
Posts: 254
Joined: Wed Nov 21, 2012 9:12 am

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Thu Jul 11, 2013 6:55 pm

Code: Select all
root@(none):/ # ps -a
PID   USER     TIME   COMMAND
    1 root       0:01 /bin/sh
    2 root       0:00 [kthreadd]
    3 root       1:56 [ksoftirqd/0]
    6 root       0:00 [khelper]
    7 root       0:00 [kworker/u:1]
  204 root       0:00 [sync_supers]
  206 root       0:00 [bdi-default]
  207 root       0:00 [kblockd]
  212 root       0:00 [ata_sff]
  223 root       0:00 [khubd]
  230 root       0:00 [md]
  250 root       0:00 [rpciod]
  258 root       1:53 [kswapd0]
  306 root       0:00 [fsnotify_mark]
  320 root       0:00 [unionfs_siod]
  321 root       0:00 [nfsiod]
  339 root       0:00 [jfsIO]
  340 root       0:00 [jfsCommit]
  341 root       0:00 [jfsSync]
  348 root       0:00 [xfs_mru_cache]
  349 root       0:00 [xfslogd]
  350 root       0:00 [xfsdatad]
  351 root       0:00 [xfsconvertd]
  352 root       0:00 [crypto]
  465 root       0:00 [scsi_eh_0]
  468 root       0:00 [scsi_eh_1]
  471 root       0:00 [kworker/u:2]
  478 root       0:00 [smflush]
  487 root       0:00 [orion_spi]
  492 root       0:00 [mtdblock0]
  497 root       0:00 [mtdblock1]
  562 root       0:00 [kmpathd]
  563 root       0:00 [kmpath_handlerd]
  617 root       0:00 [mv_crypto]
  730 root       0:07 /sbin/telnetd
  734 root       0:00 /sbin/buttons-nwsp2
  735 root       0:00 -sh
  850 root       0:00 -sh
 1179 root       0:00 [md0_raid5]
 1194 root       0:00 [xfsbufd/md0]
 1573 root       0:00 busybox inetd
 1580 root       0:00 busybox inetd
 1608 root       0:00 busybox inetd
 1832 root       0:00 [kworker/0:0]
 1916 root       0:00 [scsi_eh_4]
 1917 root       1:37 [usb-storage]
 2156 root       0:00 [busybox]
 2214 root       0:00 busybox httpd -p 80 -h /mp2
 2234 root       0:00 busybox httpd -p 81 -h /mp2/shares/3/
 2279 root       0:00 [kworker/0:1]
 2315 root       0:00 [kjournald]
 2388 root       0:00 ps -a
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Thu Jul 11, 2013 6:56 pm

You know, I'll just change the port. Duh me! That should work.
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 2 guests

cron