by dannyp » Mon Mar 19, 2012 11:31 pm
fdisk -l
$this->bbcode_second_pass_code('', '[root@alarm ~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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/sda1 * 2048 41945087 20971520 83 Linux
/dev/sda4 1 2047 1023+ ee GPT
Partition table entries are not in disk order
')
gdisk -l /dev/sda
$this->bbcode_second_pass_code('', '[root@alarm ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.2
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 709390A1-C9CE-4C4D-AE66-B17583A50FD1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 41945087 20.0 GiB 8300 Linux/Windows data
2 41945088 5860533134 2.7 TiB 8300 Linux/Windows data
')
and lastly....
$this->bbcode_second_pass_code('', '[root@alarm ~]# dmesg | grep sd
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root) root=/dev/sda1 netconsole=@10.10.10.6/eth0,@10.10.10.4/
[ 20.200649] sdhci: Secure Digital Host Controller Interface driver
[ 20.200659] sdhci: Copyright(c) Pierre Ossman
[ 20.200728] sdhci-pltfm: SDHCI platform and OF driver helper
[ 20.669833] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[ 20.670087] sd 0:0:0:0: [sda] Write Protect is off
[ 20.670102] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 20.670212] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 20.670835] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 20.696818] sda: sda1 sda2
[ 20.697986] sd 0:0:0:0: [sda] Attached SCSI disk
[ 21.883193] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[ 23.987448] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[ 24.047262] EXT4-fs (sda2): Unrecognized mount option "defauly" or missing value
[root@alarm ~]#
')
does that help with the problem solving??
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.
Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.
Raspberry PI Model B 512K
- RASPBMC