SyntaxHighlighter

2015年5月15日星期五

My LS-QVL Disk Info

+-------+-------+-------+-------+--------+----------------+
| disk1 | disk2 | disk3 | disk4 |  raid  |    purpose     |
+-------+-------+-------+-------+--------+----------------+
| sda1  | sdb1  | sdc1  | sdd1  | md0    | /boot          |
| sda2  | sdb2  | sdc2  | sdd2  | md1    | /              |
| sda3  | sdb3  | sdc3  | sdd3  | unused | unused         |
| sda4  | sdb4  | sdc4  | sdd4  | unused | unused         |
| sda5  | sdb5  | sdc5  | sdd5  | md10   | swap           |
| sda6  | sdb6  | sdc6  | sdd6  | mdx    | nas user space |
+-------+-------+-------+-------+--------+----------------+
http://ozh.github.io/ascii-tables/
[email protected]:/etc# cat /proc/partitions
major minor  #blocks  name

  31        0        512 mtdblock0
   8       16  488386584 sdb
   8       17    1000448 sdb1
   8       18    5000192 sdb2
   8       19       1024 sdb3
   8       20       1024 sdb4
   8       21    1000448 sdb5
   8       22  473468928 sdb6
   8        0   31266648 sda
   8        1    1000448 sda1
   8        2    5000192 sda2
   8        3       1024 sda3
   8        4       1024 sda4
   8        5    1000448 sda5
   8        6   14485504 sda6
   8       48  244198584 sdd
   8       49    1000448 sdd1
   8       50    5000192 sdd2
   8       51       1024 sdd3
   8       52       1024 sdd4
   8       53    1000448 sdd5
   8       54  229328896 sdd6
   8       32  244198584 sdc
   8       33    1000448 sdc1
   8       34    5000192 sdc2
   8       35       1024 sdc3
   8       36       1024 sdc4
   8       37    1000448 sdc5
   8       38  229328896 sdc6
   9        0    1000384 md0
   9       10    1000436 md10
   9        1    4999156 md1
   9       22  473467768 md22
   9       21   14484408 md21
   9        2  229327736 md2
[email protected]:/etc# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4] 
md2 : active raid1 sdc6[0] sdd6[1]
      229327736 blocks super 1.2 [2/2] [UU]
--> raid nas user space
      
md21 : active raid1 sda6[0]
      14484408 blocks super 1.2 [2/1] [U_]
--> use raid1 but one drive as normal mode nas user space
      
md22 : active raid1 sdb6[0]
      473467768 blocks super 1.2 [2/1] [U_]
--> use raid1 but one drive as normal mode nas user space
      
md1 : active raid1 sda2[7] sdb2[6] sdc2[5] sdd2[4]
      4999156 blocks super 1.2 [4/4] [UUUU]
--> /
      
md10 : active raid1 sda5[7] sdb5[6] sdc5[5] sdd5[4]
      1000436 blocks super 1.2 [4/4] [UUUU]
--> swap
      
md0 : active raid1 sda1[0] sdb1[3] sdc1[2] sdd1[1]
      1000384 blocks [4/4] [UUUU]
--> /boot
      
unused devices: 
[email protected]:/usr/local/bin# parted /dev/sda 
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: SSD32S  l @ P>$ = (scsi)
Disk /dev/sda: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      1049kB  1026MB  1024MB  ext3         primary         --> /boot       [ext3]
 2      1026MB  6146MB  5120MB               primary         --> /           [ext3]
 3      6146MB  6147MB  1049kB               primary         --> unused
 4      6147MB  6148MB  1049kB               primary         --> unused
 5      6148MB  7172MB  1024MB               primary         --> swap        [swap]
 6      7172MB  22.0GB  14.8GB               primary         --> user_spaces [xfs]
[email protected]:/usr/local/bin# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=writeback)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=4,mode=620)
/dev/ram1 on /mnt/ram type tmpfs (rw,relatime,size=15360k)
/dev/md0 on /boot type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/md2 on /mnt/array1 type xfs (rw,noatime,attr2,usrquota,grpquota)
/dev/md21 on /mnt/disk1 type xfs (rw,noatime,attr2,usrquota,grpquota)
/dev/md22 on /mnt/disk2 type xfs (rw,noatime,attr2,usrquota,grpquota)
[email protected]:/usr/local/bin# ls -al /dev/root
lrwxrwxrwx    1 root     root            3 May 15 04:27 /dev/root -> md1
[email protected]:/# blkid
/dev/sdb1: UUID="ae515ae8-a75a-5c1a-7611-9a37b19c2cdb" TYPE="mdraid" 
/dev/sdb5: TYPE="swap" 
/dev/sdc1: UUID="ae515ae8-a75a-5c1a-7611-9a37b19c2cdb" TYPE="mdraid" 
/dev/sdc5: TYPE="swap" 
/dev/sda1: UUID="ae515ae8-a75a-5c1a-7611-9a37b19c2cdb" TYPE="mdraid" 
/dev/sda5: TYPE="swap" 
/dev/md0: UUID="89f47586-b419-4ba5-af45-680c13d03442" TYPE="ext3" 
/dev/md10: TYPE="swap" 
/dev/md1: UUID="a068025a-a07d-4901-8a67-e702c0ae7427" TYPE="ext3" 
/dev/md21: UUID="dc3a01d0-38d0-4ac7-94c8-6cd19d4b3909" TYPE="xfs" 
/dev/md2: UUID="2b0d1f94-b8b1-40ab-bb4a-a0a638d70b3f" TYPE="xfs" 
/dev/sdd1: UUID="ae515ae8-a75a-5c1a-7611-9a37b19c2cdb" TYPE="mdraid" 
/dev/sdd5: TYPE="swap" 
/dev/md22: UUID="50bde03e-5983-4ddf-a97f-74b70c7aadd4" TYPE="xfs" 
[email protected]:/# mdadm --detail /dev/md0
/dev/md0:
        Version : 0.90
  Creation Time : Fri Dec 31 23:49:39 1999
     Raid Level : raid1
     Array Size : 1000384 (977.10 MiB 1024.39 MB)
  Used Dev Size : 1000384 (977.10 MiB 1024.39 MB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu May 14 20:27:40 2015
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

           UUID : e85a51ae:1a5c5aa7:379a1176:db2c9cb1
         Events : 0.546

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       49        1      active sync   /dev/sdd1
       2       8       33        2      active sync   /dev/sdc1
       3       8       17        3      active sync   /dev/sdb1
[email protected]:/# smartctl -A -i -d marvell /dev/sda
smartctl version 5.37 [arm-none-linux-gnueabi] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SSD32S
Serial Number:    2013013000000016
Firmware Version: 120202
User Capacity:    32,017,047,552 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Fri May 15 16:48:10 2015 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       16777215
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   100   100   050    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0013   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       2160
 10 Spin_Retry_Count        0x0013   100   100   050    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       169
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
175 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       0
192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   040   100   000    Old_age   Always       -       40 (Lifetime Min/Max 30/60)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0013   100   100   050    Pre-fail  Always       -       0
170 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       262144
173 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       38339072
[email protected]:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/md1                  4.7G    861.0M      3.6G  19% /
udev                     10.0M    192.0k      9.8M   2% /dev
/dev/ram1                15.0M    140.0k     14.9M   1% /mnt/ram
/dev/md0                969.2M     29.4M    939.8M   3% /boot
/dev/md2                218.6G    128.7G     89.9G  59% /mnt/array1
/dev/md21                13.8G     33.1M     13.8G   0% /mnt/disk1
/dev/md22               451.3G    117.2G    334.1G  26% /mnt/disk2

没有评论:

发表评论