Tuesday, March 29, 2011

Figuring Out Devices and Storage on the Pogoplug

On a normal Pogoplug V2 4 USB storage devices looks like this:

-bash-3.2# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock2           32768     15872     16896  48% /
none                    128004        12    127992   0% /tmp
/tmp/.cemnt/sda1     1953512000    125684 1953386316   0% /tmp/.cemnt/mnt_sda1
/tmp/.cemnt/sdb1     1953512000    125732 1953386268   0% /tmp/.cemnt/mnt_sdb1
/tmp/.cemnt/sdc1     1953512000    125732 1953386268   0% /tmp/.cemnt/mnt_sdc1
/tmp/.cemnt/sdd1     1953512000    125732 1953386268   0% /tmp/.cemnt/mnt_sdd1

OK, this makes sense.

-bash-3.2# /sbin/fdisk /tmp/.cemnt/sda

The number of cylinders for this disk is set to 243201.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /tmp/.cemnt/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

          Device Boot      Start         End      Blocks  Id System
/tmp/.cemnt/sda1               1      243201  1953512001   7 HPFS/NTFS

OK, it see the USB devices.  Now I have to get it to mount them.  I can do that later.

[root@Plugbox ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 05dc:a761 Lexar Media, Inc. 
Bus 001 Device 004: ID 13fd:1340 Initio Corporation Hi-Speed USB to SATA Bridge
Bus 001 Device 005: ID 13fd:1340 Initio Corporation Hi-Speed USB to SATA Bridge
Bus 001 Device 006: ID 13fd:1340 Initio Corporation Hi-Speed USB to SATA Bridge



No comments: