Differences

This shows you the differences between two versions of the page.

Link to this comparison view

istar:fittingexternalhdd [2009/11/27 17:54] (current)
Line 1: Line 1:
 +====== External HDD ======
  
 +
 +I've bought a nice External HDD case from iSTAR and the 1TB drive that I purchased arrived first. ​ Keen to get some files onto it I just had to plug it in.
 +
 +{{:​istar:​istar-exthdd.png|}}
 +
 +Once it was formatted up via the WEB interface I telneted back in to see what it looks like
 +<​code>​
 +# fdisk -l /dev/hda
 +Disk /dev/hda: 1000.2 GB, 1000204886016 bytes
 +255 heads, 63 sectors/​track,​ 121601 cylinders
 +Units = cylinders of 16065 * 512 = 8225280 bytes
 +Disk identifier: 0x00000000
 +
 +   ​Device Boot      Start         ​End ​     Blocks ​  ​Id ​ System
 +/​dev/​hda1 ​              ​1 ​         32      257008+ ​ 83  Linux
 +/​dev/​hda2 ​             33          95      506047+ ​ 82  Linux swap
 +/​dev/​hda3 ​             96      121601 ​  ​975996945 ​  ​83 ​ Linux
 +#
 +</​code>​
 +
 +Mount the drive in a real Linux machine allows to see some other interesting things about the format of the partitions.
 +<​code>​
 +root@gumby:​~#​ tune2fs -l /dev/sdb1
 +tune2fs 1.40.8 (13-Mar-2008)
 +Filesystem volume name:   <​none>​
 +Last mounted on:          <not available>​
 +Filesystem UUID:          4624f2c6-593d-4b61-b211-91526a162e6b
 +Filesystem magic number: ​ 0xEF53
 +Filesystem revision #:    1 (dynamic)
 +Filesystem features: ​     has_journal filetype needs_recovery sparse_super
 +Default mount options: ​   (none)
 +Filesystem state: ​        clean
 +Errors behavior: ​         Continue
 +Filesystem OS type:       Linux
 +Inode count: ​             32128
 +Block count: ​             64252
 +Reserved block count: ​    3212
 +Free blocks: ​             44538
 +Free inodes: ​             31375
 +First block: ​             0
 +Block size:               4096
 +Fragment size:            4096
 +Blocks per group: ​        32768
 +Fragments per group: ​     32768
 +Inodes per group: ​        16064
 +Inode blocks per group: ​  502
 +Filesystem created: ​      Fri Jun 27 11:50:41 2008
 +Last mount time:          Sun Jun 29 08:09:30 2008
 +Last write time:          Sun Jun 29 08:09:30 2008
 +Mount count: ​             8
 +Maximum mount count: ​     31
 +Last checked: ​            Fri Jun 27 11:50:41 2008
 +Check interval: ​          ​15552000 (6 months)
 +Next check after: ​        Wed Dec 24 10:50:41 2008
 +Reserved blocks uid:      0 (user root)
 +Reserved blocks gid:      0 (group root)
 +First inode: ​             11
 +Inode size:               128
 +Journal inode: ​           8
 +Default directory hash:   tea
 +Directory Hash Seed:      88de6cec-96b8-44a5-8aba-f773672f7171
 +Journal backup: ​          inode blocks
 +root@gumby:​~#​
 +</​code>​
 +
 +The second paritition has **large_file** as a Filesystem feature.
 +<​code>​
 +root@gumby:​~#​ tune2fs -l /dev/sdb3
 +tune2fs 1.40.8 (13-Mar-2008)
 +Filesystem volume name:   <​none>​
 +Last mounted on:          <not available>​
 +Filesystem UUID:          9ac7b6cb-ee22-4c09-a83e-a0c10100ce47
 +Filesystem magic number: ​ 0xEF53
 +Filesystem revision #:    1 (dynamic)
 +Filesystem features: ​     has_journal filetype needs_recovery sparse_super large_file
 +Default mount options: ​   (none)
 +Filesystem state: ​        clean
 +Errors behavior: ​         Continue
 +Filesystem OS type:       Linux
 +Inode count: ​             122011648
 +Block count: ​             243999236
 +Reserved block count: ​    ​12199961
 +Free blocks: ​             145228533
 +Free inodes: ​             122010033
 +First block: ​             0
 +Block size:               4096
 +Fragment size:            4096
 +Blocks per group: ​        32768
 +Fragments per group: ​     32768
 +Inodes per group: ​        16384
 +Inode blocks per group: ​  512
 +Filesystem created: ​      Fri Jun 27 11:50:44 2008
 +Last mount time:          Mon Jun 30 19:40:18 2008
 +Last write time:          Mon Jun 30 19:40:18 2008
 +Mount count: ​             8
 +Maximum mount count: ​     36
 +Last checked: ​            Fri Jun 27 11:50:44 2008
 +Check interval: ​          ​15552000 (6 months)
 +Next check after: ​        Wed Dec 24 10:50:44 2008
 +Reserved blocks uid:      0 (user root)
 +Reserved blocks gid:      0 (group root)
 +First inode: ​             11
 +Inode size:               128
 +Journal inode: ​           8
 +Default directory hash:   tea
 +Directory Hash Seed:      07a48765-6cb5-4193-89eb-8b6362f32e14
 +Journal backup: ​          inode blocks
 +</​code>​
 +{{tag>​nmt}}