PDA

View Full Version : eSata key drive .... hmm ...



oldfart
13-03-2010, 06:49 PM
Are you sitting comfortably ..
So bought an Ocz eSsata key drive, shoved it in the back of the 500 and .. nowt.
So, a few posts on IHAD and, there is no power on the eSata bus, (powered ones are called eSatap). Have to use a USB power adapter plugged in to the other end of the key drive.
Did that, the box saw the drive, Ahhhh! tried to format - nope.
error 'unable to initialize harddisk. Error: creating partition failed.'
So - reformatted the key drive twice - FAT (thirty two) & NTFS
still the same error.

There is already a /media/hdd on the 500HD - it works, so I guess this is a ram drive.

My questions are:-
How do I find out where the key drive is attached ; and
how do I format it (need to know answer to first question, to carry out format)

the dive could be /dev/sb1
or
dev/usb
or dev/blahblahblah


This is the short version of the story, steps above took about 6 hours!!!

dubious
13-03-2010, 10:25 PM
There is already a /media/hdd on the 500HD - it works, so I guess this is a ram drive.

No, that's just a holding place to mount a drive to.

From telnet issue the df command, this will show you you your mount points.

here's mine


root@dm8000:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 61440 41872 19568 68% /
/dev/mtdblock/2 3072 2856 216 93% /boot
tmpfs 77720 612 77108 1% /var
tmpfs 77720 140 77580 0% /tmp
/dev/discs/disc0/part1 976576600 124822924 851753676 13% /media/hdd
/dev/discs/disc1/part1 31256620 174472 31082148 1% /media/ssd
/dev/scsi/host0/bus0/target0/lun1/part1 496344 283156 213188 57% /media/cf

From this you should be able to determine where the drive gets mounted and add it to the fstab as you want it to be mounted.

this the relevent part of my fstab


/dev/discs/disc0/part1 /media/hdd auto defaults 0 0
/dev/discs/disc1/part1 /media/ssd auto defaults 0 0
/dev/scsi/host0/bus0/target0/lun1/part1 /media/cf auto defaults 0 0
/dev/scsi/host2/bus0/target0/lun0/part1 /media/usb auto defaults 0 0

So if you take my solid state drive as an example, I first had to create the folder /media/ssd, then add the entry to the fstab as shown above to mount it to that folder.

Or you could try the easy way and install from plugins one of gutemines plugins, either 'Mountie' or 'Mountie light'

oldfart
13-03-2010, 11:21 PM
There is already a /media/hdd on the 500HD - it works, so I guess this is a ram drive.


No, that's just a holding place to mount a drive to.


Nope - it acts as a hdd - I can save files to it - so it must be setup either by DMM or the OoZooN image. (probably)

Thanks @Dubious for the rest, will play and report back.

here's my DF without the eSata drive:-

root@dm500hd:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 61440 42892 18548 70% /
/dev/mtdblock/2 3840 2460 1380 64% /boot
tmpfs 72648 536 72112 1% /var
tmpfs 72648 20 72628 0% /tmp

dubious
13-03-2010, 11:24 PM
Of course you can save files to it, at the moment it's just part of the file system on flash :)

oldfart
14-03-2010, 09:22 AM
The whole thing is sooo flaky. The key drive shows up in the harddisk menu about 10% of the time. Doesn't show up in the USB plugin. Can't get to intialize the disk.
Think I'll have to wait 'till I get home, format the drive on my Linux machine, then try again.

Giga
14-03-2010, 11:58 AM
or remove the partition and setup a new one that is better handled by your box
can't show up in the USB: is not a usb device. check if sata is set up correctly in bios? could be it is not fully plug and play and has to be on the box before switching off. Check manual if both are HOTplug: can it be removed on running system without causing harm to box or key itself?

oldfart
14-03-2010, 09:56 PM
Given up - the Throtte drive is a heap of $h1t.
Plugged an external sata hard disk in - worked staright away, no issues.