General NAS-Central Forums

Welcome to the NAS community
It is currently Mon May 29, 2017 5:02 pm

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Sep 24, 2014 11:22 am 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Can someone please confirm how a new HD should be partitioned and formatted to carry out the full recovery procedure here: http://iomega.nas-central.org/wiki/Reco ... e_Media_CE)

Have Ubuntu installed on a spare HD. Couldn't find GParted installed so will use GParted on USB to wipe drive (all unallocated - no partitions) and format the full drive (120GB) to ext4.


Top
 Profile  
 
PostPosted: Wed Sep 24, 2014 1:34 pm 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
Format does not matter as it will be overwritten to match what the NAS expects. Follow the instructions exactly.

Stefan


Top
 Profile  
 
PostPosted: Wed Sep 24, 2014 10:41 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
No joy. :(
Wiped hd using ubuntu disk management or gparted usb bootable.
Used following code to access drive:
sudo passwd root
Sudo su

Then extracted the .tz file using the code given. Seemed to complete as it should but hd remained unchanged. Can I just restore the .iso image in the .tz file to the hd?

Also I preped the usb as per the windows instructions. Plunged usb into either usb port in the nas. Plunged in power cord while holding reset button. Just get white light. No blue activity light. Hd spins but is not read or written to.

Help please. Been at it all night. :(


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 5:16 am 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
You're not following the instructions. Do the section "complete recovery" first. Then prepare the USB stick. No need to extract anything.

If it doesn't work, post the steps you're doing exactly so that one can see where the mistake is.

Stefan


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 6:46 am 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Thanks for the help Stefan.

I have followed the "Complete Recovery" Section for the first 32MB.

After the command "zcat Iomega-HMNHD-CE-1st-32M.img.gz | dd of=/dev/sdb bs=1M" I get similar to:
0+1024 records in
0+1024 records out
33554432 bytes (34 MB) copied, 0.239515 s, 140 MB/s

Shouldn't the HD have a partition/files at this point? How can I check that I've done this correctly.
Could it be my permissions? I don't know if I'm using the correct commands.


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 8:22 am 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
That is fine, no need to check anything on the HD, just make sure /dev/sdb is the HD and not the USB stick. Unplug the HD, put into HMNHD-CE, prepare USB stick as described and power on the HMNHD-CE. This has worked for many people, so I think there is little room for error.

Stefan


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 8:38 am 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Will post my steps from terminal tonight. Must be the usb that's wrong. How long should u have to hold reset for? Surely 30s at the most. From memory I'm using an old maxtor diamonmax hd and a 16gb sandisk. Are these comparable?


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 2:01 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Is the command for root user correct?


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 2:03 pm 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
"sudo su" is enough to get root access. If it wasn't you would get an error message on the dd command. Dunno why you set the root password, it's not needed because with sudo you enter your own password without needing to have a root password.

Stefan


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 5:57 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Code:
spudgun@spudgun-System-Product-Name:~$ sudo su
[sudo] password for spudgun:
root@spudgun-System-Product-Name:/home/spudgun# lsscsi
The program 'lsscsi' is currently not installed. You can install it by typing:
apt-get install lsscsi
root@spudgun-System-Product-Name:/home/spudgun# dmesg|egrep 'sd |scsi'
[    0.916493] scsi0 : ata_piix
[    0.916586] scsi1 : ata_piix
[    1.072310] scsi2 : ata_piix
[    1.072392] scsi3 : ata_piix
[    1.736467] scsi 0:0:0:0: Direct-Access     ATA      Maxtor 6Y080M0   YAR5 PQ: 0 ANSI: 5
[    1.736650] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.736653] sd 0:0:0:0: [sda] 160084415 512-byte logical blocks: (81.9 GB/76.3 GiB)
[    1.736753] sd 0:0:0:0: [sda] Write Protect is off
[    1.736757] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.736817] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.768339] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.964439] scsi 1:0:0:0: Direct-Access     ATA      Maxtor 6Y120M0   YAR5 PQ: 0 ANSI: 5
[    1.964587] sd 1:0:0:0: [sdb] 240119615 512-byte logical blocks: (122 GB/114 GiB)
[    1.964610] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.964675] sd 1:0:0:0: [sdb] Write Protect is off
[    1.964679] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.964732] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.971277] sd 1:0:0:0: [sdb] Attached SCSI disk
[    2.055991] scsi4 : usb-storage 2-5:1.0
[    3.062707] scsi 4:0:0:0: Direct-Access     Generic- Compact Flash    1.00 PQ: 0 ANSI: 0 CCS
[    4.028963] scsi 4:0:0:1: Direct-Access     Generic- SM/xD-Picture    1.00 PQ: 0 ANSI: 0 CCS
[    4.035576] scsi 4:0:0:2: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
[    4.042199] scsi 4:0:0:3: Direct-Access     Generic- MS/MS-Pro        1.00 PQ: 0 ANSI: 0 CCS
[    4.042481] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    4.042635] sd 4:0:0:1: Attached scsi generic sg3 type 0
[    4.042784] sd 4:0:0:2: Attached scsi generic sg4 type 0
[    4.042956] sd 4:0:0:3: Attached scsi generic sg5 type 0
[    4.049314] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[    4.050064] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[    4.050812] sd 4:0:0:2: [sde] Attached SCSI removable disk
[    4.051562] sd 4:0:0:3: [sdf] Attached SCSI removable disk
[ 1391.990222] scsi5 : usb-storage 2-6:1.0
[ 1392.989062] scsi 5:0:0:0: Direct-Access     SanDisk                   1.26 PQ: 0 ANSI: 5
[ 1392.989329] sd 5:0:0:0: Attached scsi generic sg6 type 0
[ 1392.991454] sd 5:0:0:0: [sdg] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 1392.993434] sd 5:0:0:0: [sdg] Write Protect is off
[ 1392.993441] sd 5:0:0:0: [sdg] Mode Sense: 43 00 00 00
[ 1392.996233] sd 5:0:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1393.013927] sd 5:0:0:0: [sdg] Attached SCSI removable disk
root@spudgun-System-Product-Name:/home/spudgun# zcat Iomega-HMNHD-CE-1st-32M.img.gz | dd of=/dev/sdb bs=1M
0+994 records in
0+994 records out
33554432 bytes (34 MB) copied, 0.702882 s, 47.7 MB/s
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdg1
mkfs.fat 3.0.26 (2014-03-07)
mkfs.vfat: /dev/sdg1 contains a mounted filesystem.
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdg1
mkfs.fat 3.0.26 (2014-03-07)
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover && mount /dev/sdg1 /mnt/hmnhdce-recover
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover/emctools/hmnhd_imagesroot@spudgun-System-Product-Name:/home/spudgun# cp imager_3.1.14.995.tgz /mnt/hmnhdce-recover/emctools/hmnhd_images/mkdir -p /mnt/hmnhdce-recover/emctools/hmnhd_images
cp: failed to preserve ownership for ‘/mnt/hmnhdce-recover/emctools/hmnhd_images/imager_3.1.14.995.tgz’: Operation not permitted
cp: cannot stat ‘/mnt/hmnhdce-recover/emctools/hmnhd_images/mkdir’: No such file or directory
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover/emctools/hmnhd_images
root@spudgun-System-Product-Name:/home/spudgun# touch /mnt/hmnhdce-recover/emctools/hmnhd_images/reinstall
root@spudgun-System-Product-Name:/home/spudgun#



Still no joy

Note: I coppied bootrom.txt to the root folder of the USB using windows.


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 6:08 pm 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
Brief answer:
Error in cp command, everything after and including "mkdir ..." must not be part of it.
Bootrom.txt - why do you copy it on windows? Just download to the same directory as the imager tar.gz and copy it with "cp bootrom.txt /mnt/hmnhdce-recover/"

Stefan


Top
 Profile  
 
PostPosted: Thu Sep 25, 2014 6:24 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Think the cp error was due to me pasting the command twice. Did it again and it seemed ok???


Top
 Profile  
 
PostPosted: Fri Sep 26, 2014 6:19 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
Code:
spudgun@spudgun-System-Product-Name:~$ sudo su
[sudo] password for spudgun:
root@spudgun-System-Product-Name:/home/spudgun# dmesg|egrep 'sd |scsi'
[    0.912491] scsi0 : ata_piix
[    0.912585] scsi1 : ata_piix
[    1.068309] scsi2 : ata_piix
[    1.068391] scsi3 : ata_piix
[    1.732435] scsi 0:0:0:0: Direct-Access     ATA      Maxtor 6Y080M0   YAR5 PQ: 0 ANSI: 5
[    1.732576] sd 0:0:0:0: [sda] 160084415 512-byte logical blocks: (81.9 GB/76.3 GiB)
[    1.732613] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.732655] sd 0:0:0:0: [sda] Write Protect is off
[    1.732659] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.732702] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.770478] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.956434] scsi 1:0:0:0: Direct-Access     ATA      Maxtor 6Y120M0   YAR5 PQ: 0 ANSI: 5
[    1.956581] sd 1:0:0:0: [sdb] 240119615 512-byte logical blocks: (122 GB/114 GiB)
[    1.956601] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.956670] sd 1:0:0:0: [sdb] Write Protect is off
[    1.956674] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.956727] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.963733] sd 1:0:0:0: [sdb] Attached SCSI disk
[    2.042242] scsi4 : usb-storage 2-5:1.0
[    3.046707] scsi 4:0:0:0: Direct-Access     Generic- Compact Flash    1.00 PQ: 0 ANSI: 0 CCS
[    4.012962] scsi 4:0:0:1: Direct-Access     Generic- SM/xD-Picture    1.00 PQ: 0 ANSI: 0 CCS
[    4.019574] scsi 4:0:0:2: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
[    4.026202] scsi 4:0:0:3: Direct-Access     Generic- MS/MS-Pro        1.00 PQ: 0 ANSI: 0 CCS
[    4.026487] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    4.026642] sd 4:0:0:1: Attached scsi generic sg3 type 0
[    4.026790] sd 4:0:0:2: Attached scsi generic sg4 type 0
[    4.026936] sd 4:0:0:3: Attached scsi generic sg5 type 0
[    4.033188] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[    4.033949] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[    4.034823] sd 4:0:0:2: [sde] Attached SCSI removable disk
[    4.036216] sd 4:0:0:3: [sdf] Attached SCSI removable disk
[  366.078096] scsi5 : usb-storage 2-6:1.0
[  367.076619] scsi 5:0:0:0: Direct-Access     ClvrStuf USB Flash Drive  6.50 PQ: 0 ANSI: 0 CCS
[  367.076929] sd 5:0:0:0: Attached scsi generic sg6 type 0
[  367.077480] sd 5:0:0:0: [sdg] 1970175 512-byte logical blocks: (1.00 GB/961 MiB)
[  367.078699] sd 5:0:0:0: [sdg] Write Protect is off
[  367.078705] sd 5:0:0:0: [sdg] Mode Sense: 45 00 00 08
[  367.079353] sd 5:0:0:0: [sdg] No Caching mode page found
[  367.079358] sd 5:0:0:0: [sdg] Assuming drive cache: write through
[  367.086115] sd 5:0:0:0: [sdg] No Caching mode page found
[  367.086121] sd 5:0:0:0: [sdg] Assuming drive cache: write through
[  367.095099] sd 5:0:0:0: [sdg] No Caching mode page found
[  367.095105] sd 5:0:0:0: [sdg] Assuming drive cache: write through
[  367.095109] sd 5:0:0:0: [sdg] Attached SCSI removable disk
[  526.081497] scsi6 : usb-storage 2-6:1.0
[  527.080562] scsi 6:0:0:0: Direct-Access     ClvrStuf USB Flash Drive  6.50 PQ: 0 ANSI: 0 CCS
[  527.080884] sd 6:0:0:0: Attached scsi generic sg6 type 0
[  527.088415] sd 6:0:0:0: [sdg] 1970175 512-byte logical blocks: (1.00 GB/961 MiB)
[  527.089131] sd 6:0:0:0: [sdg] Write Protect is off
[  527.089137] sd 6:0:0:0: [sdg] Mode Sense: 45 00 00 08
[  527.090493] sd 6:0:0:0: [sdg] No Caching mode page found
[  527.090499] sd 6:0:0:0: [sdg] Assuming drive cache: write through
[  527.094293] sd 6:0:0:0: [sdg] No Caching mode page found
[  527.094298] sd 6:0:0:0: [sdg] Assuming drive cache: write through
[  527.100043] sd 6:0:0:0: [sdg] No Caching mode page found
[  527.100048] sd 6:0:0:0: [sdg] Assuming drive cache: write through
[  527.100052] sd 6:0:0:0: [sdg] Attached SCSI removable disk
root@spudgun-System-Product-Name:/home/spudgun# zcat Iomega-HMNHD-CE-1st-32M.img.gz | dd of=/dev/sdb bs=1M
0+984 records in
0+984 records out
33554432 bytes (34 MB) copied, 0.640888 s, 52.4 MB/s
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdgX1
mkfs.fat 3.0.26 (2014-03-07)
/dev/sdgX1: No such file or directory
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdg1
mkfs.fat 3.0.26 (2014-03-07)
/dev/sdg1: No such file or directory
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sde1
mkfs.fat 3.0.26 (2014-03-07)
/dev/sde1: No such file or directory
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover && mount /dev/sdg1 /mnt/hmnhdce-recover
mount: special device /dev/sdg1 does not exist
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover && mount /dev/sdg1 /mnt/hmnhdce-recover
mount: special device /dev/sdg1 does not exist
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdg1mkfs.fat 3.0.26 (2014-03-07)
mkfs.vfat: /dev/sdg1 contains a mounted filesystem.
root@spudgun-System-Product-Name:/home/spudgun# mkfs -t vfat /dev/sdg1
mkfs.fat 3.0.26 (2014-03-07)
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover && mount /dev/sdg1 /mnt/hmnhdce-recover
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover/emctools/hmnhd_images
root@spudgun-System-Product-Name:/home/spudgun# cp bootrom.txt /mnt/hmnhdce-recover/
root@spudgun-System-Product-Name:/home/spudgun# mkdir -p /mnt/hmnhdce-recover/emctools/hmnhd_images
root@spudgun-System-Product-Name:/home/spudgun# cp imager_3.1.14.995.tgz /mnt/hmnhdce-recover/emctools/hmnhd_images/
root@spudgun-System-Product-Name:/home/spudgun# touch /mnt/hmnhdce-recover/emctools/hmnhd_images/reinstall
root@spudgun-System-Product-Name:/home/spudgun#



Starting to think this things toast. :(

Edit: The commands show error but I formatted with "disks". I also tried another USB stick and all the commands worked fine. Still didn't work though.

Could it be my bootrom.txt?

where do you type?:
Code:
perl <<EOF > /mnt/hmnhdce-recover/bootrom.txt
      print "\x00" x 0x1a4;
      print "\x00\x5f\x01\x00";
      print "\x00\xdf\x00\x00";
      print "\x00\x80\x00\x00";
      print "\x00" x (0x1b0 -0x1a4 -12 );
      print "\x22\x80\x00\x00";
      print "\x22\x00\x00\x00";
      print "\x00\x80\x00\x00";
EOF


Top
 Profile  
 
PostPosted: Fri Sep 26, 2014 8:38 pm 
Offline

Joined: Wed Sep 24, 2014 10:31 am
Posts: 16
The light on the USB drive doesn't flash at all. Does that mean the PCB is dead?


Top
 Profile  
 
PostPosted: Fri Sep 26, 2014 8:41 pm 
Offline

Joined: Fri Jul 13, 2012 8:12 am
Posts: 110
There's no certain way of knowing unless you connect the serial port and get some data. Sorry to not be of more help.

Stefan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group