A few days someone gave me a TS 201 RAID NAS made by Qnap to fix.
http://www.qnap.com/useng/?sn=862&c=1697&sc=1698&t=1701&n=6731
It was very bad, the power light did not come on, it just pulsed a bit.
The external power supply was broken, the capacitors 16V/1000uF swollen up.
12 Volt 5 Amps standard PSU, I had a spare so that was easily fixed.
Trouble was not over, the device did not work. It beeped, lights were blinking, ugly noise from disk.
Connecting to NAS did not go easily, I found the IP address by using NMAP (I assumed it was using DHCP)
$ nmap -sP 192.168.1.0/24
.. some known machines..
and
Nmap scan report for 192.168.1.217
Host is up (0.00034s latency).
I could see the disks off-line and log in, the mainboard seems to work.
I took out the hard disks, two Hitachi Deskstars of 320 GB and hooked them to my USB Sata converter.
One of the drives did not even make it, went into the trash.
The other spun up like expected.
Would I still be able to recover data? What is on this disk?
This was in my kernel log (dmesg)
[489397.065416] usb 1-4: new high-speed USB device number 18 using ehci-pci
[489403.457631] usb 1-4: New USB device found, idVendor=174c, idProduct=5106
[489403.457641] usb 1-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[489403.457647] usb 1-4: Product: AS2105
[489403.457652] usb 1-4: Manufacturer: ASMedia
[489403.457656] usb 1-4: SerialNumber: VFD200R22BAKLC
[489403.458269] scsi20 : usb-storage 1-4:1.0
[489404.459130] scsi 20:0:0:0: Direct-Access Hitachi HDT725032VLA360 V54O PQ: 0 ANSI: 5
[489404.460233] sd 20:0:0:0: Attached scsi generic sg8 type 0
[489404.461542] sd 20:0:0:0: [sdh] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[489404.464852] sd 20:0:0:0: [sdh] Write Protect is off
[489404.464859] sd 20:0:0:0: [sdh] Mode Sense: 23 00 00 00
[489404.466835] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.466841] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.471831] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.471842] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.498322] sdh: sdh1 sdh2 sdh3 sdh4
[489404.504822] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.504835] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.504842] sd 20:0:0:0: [sdh] Attached SCSI disk
Let's see what Linux thinks of the partition table:
sudo fdisk /dev/sdh
Command (m for help): p
Disk /dev/sdh: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdh1 * 63 1060289 530113+ 83 Linux
/dev/sdh2 1060290 2120579 530145 82 Linux swap / Solaris
/dev/sdh3 2120580 624960629 311420025 83 Linux
/dev/sdh4 624960630 625121279 80325 83 Linux
That is not bad, a linux formatted disk, it could be worse :-)
Let's mount it :
sudo mount /dev/sdh3 /mnt2
mount: unknown filesystem type 'linux_raid_member'
That worked, I could get the data from the disk.
I inserted two new disks WD Red 1 TB Hard Drive for NAS (WD10EFRX)
Now to put the stuff back onto the newly formatted (RAID 1) disk.
I created a user and share with the web interface of the Qnap TS-201. (default user/password is administrator/admin, this can be reset by pressing a reset button for 5 seconds)
I need to mount the new share under my linux console to copy the stuff back.
# mkdir /tmp/mymount
# sudo mount -t cifs //192.168.1.217/myshare /tmp/mymount -ouser=shareuser,password=sharepassword,domain=WORKGROUP,sec=ntlm
do not forget the sec=ntlm or you will get a message like this :
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Now this all worked I updated the firmware before loading the data onto the NAS again.
The latest firmware fixed the port 6000 problem, the admin interface moved to 8080.
I hope someone else can be helped by this information.
http://www.qnap.com/useng/?sn=862&c=1697&sc=1698&t=1701&n=6731
It was very bad, the power light did not come on, it just pulsed a bit.
The external power supply was broken, the capacitors 16V/1000uF swollen up.
12 Volt 5 Amps standard PSU, I had a spare so that was easily fixed.
Trouble was not over, the device did not work. It beeped, lights were blinking, ugly noise from disk.
Connecting to NAS did not go easily, I found the IP address by using NMAP (I assumed it was using DHCP)
$ nmap -sP 192.168.1.0/24
.. some known machines..
and
Nmap scan report for 192.168.1.217
Host is up (0.00034s latency).
Connect to the thing using a web browser did not work.
type in :http://192.168.1.217/ click 'administration'
That redirected to a webserver on port 6000 why?
New rules in Chrome and Firefox, blocking ports including 6000.
New rules in Chrome and Firefox, blocking ports including 6000.
I got something like this very descriptive message :
Error 312 (net::ERR_UNSAFE_PORT): Unknown error.
So I had to start chrome with some extra flag to get it working:
$ google-chrome --explicitly-allowed-ports=6000
I took out the hard disks, two Hitachi Deskstars of 320 GB and hooked them to my USB Sata converter.
One of the drives did not even make it, went into the trash.
The other spun up like expected.
Would I still be able to recover data? What is on this disk?
This was in my kernel log (dmesg)
[489397.065416] usb 1-4: new high-speed USB device number 18 using ehci-pci
[489403.457631] usb 1-4: New USB device found, idVendor=174c, idProduct=5106
[489403.457641] usb 1-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[489403.457647] usb 1-4: Product: AS2105
[489403.457652] usb 1-4: Manufacturer: ASMedia
[489403.457656] usb 1-4: SerialNumber: VFD200R22BAKLC
[489403.458269] scsi20 : usb-storage 1-4:1.0
[489404.459130] scsi 20:0:0:0: Direct-Access Hitachi HDT725032VLA360 V54O PQ: 0 ANSI: 5
[489404.460233] sd 20:0:0:0: Attached scsi generic sg8 type 0
[489404.461542] sd 20:0:0:0: [sdh] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[489404.464852] sd 20:0:0:0: [sdh] Write Protect is off
[489404.464859] sd 20:0:0:0: [sdh] Mode Sense: 23 00 00 00
[489404.466835] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.466841] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.471831] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.471842] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.498322] sdh: sdh1 sdh2 sdh3 sdh4
[489404.504822] sd 20:0:0:0: [sdh] No Caching mode page found
[489404.504835] sd 20:0:0:0: [sdh] Assuming drive cache: write through
[489404.504842] sd 20:0:0:0: [sdh] Attached SCSI disk
Let's see what Linux thinks of the partition table:
sudo fdisk /dev/sdh
Command (m for help): p
Disk /dev/sdh: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdh1 * 63 1060289 530113+ 83 Linux
/dev/sdh2 1060290 2120579 530145 82 Linux swap / Solaris
/dev/sdh3 2120580 624960629 311420025 83 Linux
/dev/sdh4 624960630 625121279 80325 83 Linux
That is not bad, a linux formatted disk, it could be worse :-)
Let's mount it :
sudo mount /dev/sdh3 /mnt2
mount: unknown filesystem type 'linux_raid_member'
Too bad, not working....all data lost?
What now, lets see if it is a normal file system anyway, specify a file system type :
sudo mount /dev/sdh3 /mnt2 -t ext3
That worked, I could get the data from the disk.
I inserted two new disks WD Red 1 TB Hard Drive for NAS (WD10EFRX)
Now to put the stuff back onto the newly formatted (RAID 1) disk.
I created a user and share with the web interface of the Qnap TS-201. (default user/password is administrator/admin, this can be reset by pressing a reset button for 5 seconds)
I need to mount the new share under my linux console to copy the stuff back.
# mkdir /tmp/mymount
# sudo mount -t cifs //192.168.1.217/myshare /tmp/mymount -ouser=shareuser,password=sharepassword,domain=WORKGROUP,sec=ntlm
do not forget the sec=ntlm or you will get a message like this :
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Now this all worked I updated the firmware before loading the data onto the NAS again.
The latest firmware fixed the port 6000 problem, the admin interface moved to 8080.
I hope someone else can be helped by this information.
Have a good day.
Reacties