daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Feb 28th, 2010 170 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo fdisk -l
  2.  
  3. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
  4. 255 heads, 63 sectors/track, 121601 cylinders
  5. Units = cylinders of 16065 * 512 = 8225280 bytes
  6. Disk identifier: 0x000dcaf7
  7.  
  8.    Device Boot      Start         End      Blocks   Id  System
  9. /dev/sda1               1        2432    19535008+  fd  Linux raid autodetect
  10. /dev/sda2            2433      121601   957224992+  fd  Linux raid autodetect
  11.  
  12. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
  13. 255 heads, 63 sectors/track, 121601 cylinders
  14. Units = cylinders of 16065 * 512 = 8225280 bytes
  15. Disk identifier: 0x97d0702a
  16.  
  17.    Device Boot      Start         End      Blocks   Id  System
  18. /dev/sdb1               1        2432    19535008+  fd  Linux raid autodetect
  19. /dev/sdb2            2433      121601   957224992+  fd  Linux raid autodetect
  20.  
  21. Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
  22. 255 heads, 63 sectors/track, 121601 cylinders
  23. Units = cylinders of 16065 * 512 = 8225280 bytes
  24. Disk identifier: 0x1838265a
  25.  
  26.    Device Boot      Start         End      Blocks   Id  System
  27. /dev/sdd1               1        2432    19535008+  83  Linux
  28. /dev/sdd2            2433      121601   957224992+  fd  Linux raid autodetect
  29.  
  30. Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
  31. 255 heads, 63 sectors/track, 121601 cylinders
  32. Units = cylinders of 16065 * 512 = 8225280 bytes
  33. Disk identifier: 0xb0530ce4
  34.  
  35.    Device Boot      Start         End      Blocks   Id  System
  36. /dev/sdc1               1        2432    19535008+  83  Linux
  37. /dev/sdc2            2433      121601   957224992+  fd  Linux raid autodetect
  38.  
  39. Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
  40. 255 heads, 63 sectors/track, 243201 cylinders
  41. Units = cylinders of 16065 * 512 = 8225280 bytes
  42. Disk identifier: 0x00099f79
  43.  
  44.    Device Boot      Start         End      Blocks   Id  System
  45. /dev/sde1               1      243201  1953512001   83  Linux
  46.  
  47. Disk /dev/md1: 2940.6 GB, 2940594880512 bytes
  48. 2 heads, 4 sectors/track, 717918672 cylinders
  49. Units = cylinders of 8 * 512 = 4096 bytes
  50. Disk identifier: 0x00000000
  51.  
  52. Disk /dev/md1 doesn't contain a valid partition table
  53.  
  54. Disk /dev/md0: 20.0 GB, 20003749888 bytes
  55. 2 heads, 4 sectors/track, 4883728 cylinders
  56. Units = cylinders of 8 * 512 = 4096 bytes
  57. Disk identifier: 0x00000000
  58.  
  59. Disk /dev/md0 doesn't contain a valid partition table
  60.  
  61. -------------------------------------------------------------------------------
  62. ubuntu@ubuntu:/mnt/md1$ sudo mdadm -D /dev/md0
  63. /dev/md0:
  64.         Version : 00.90
  65.   Creation Time : Fri Mar  6 19:23:58 2009
  66.      Raid Level : raid1
  67.      Array Size : 19534912 (18.63 GiB 20.00 GB)
  68.   Used Dev Size : 19534912 (18.63 GiB 20.00 GB)
  69.    Raid Devices : 2
  70.   Total Devices : 2
  71. Preferred Minor : 0
  72.     Persistence : Superblock is persistent
  73.  
  74.     Update Time : Fri Feb 26 03:36:04 2010
  75.           State : clean
  76.  Active Devices : 2
  77. Working Devices : 2
  78.  Failed Devices : 0
  79.   Spare Devices : 0
  80.  
  81.            UUID : 6e5d04c5:2909e8a2:68c033ef:6098b2cd
  82.          Events : 0.155924
  83.  
  84.     Number   Major   Minor   RaidDevice State
  85.        0       8        1        0      active sync   /dev/sda1
  86.        1       8       17        1      active sync   /dev/sdb1
  87. ----------------------------------------------------------------------
  88. ubuntu@ubuntu:/mnt/md1$ sudo !!
  89. sudo mdadm -D /dev/md1
  90. /dev/md1:
  91.         Version : 00.90
  92.   Creation Time : Fri Apr 24 18:12:28 2009
  93.      Raid Level : raid5
  94.      Array Size : 2871674688 (2738.64 GiB 2940.59 GB)
  95.   Used Dev Size : 957224896 (912.88 GiB 980.20 GB)
  96.    Raid Devices : 4
  97.   Total Devices : 4
  98. Preferred Minor : 1
  99.     Persistence : Superblock is persistent
  100.  
  101.     Update Time : Sun Feb 28 17:31:45 2010
  102.           State : clean
  103.  Active Devices : 4
  104. Working Devices : 4
  105.  Failed Devices : 0
  106.   Spare Devices : 0
  107.  
  108.          Layout : left-symmetric
  109.      Chunk Size : 64K
  110.  
  111.            UUID : fabb8367:38639b0a:b025f78f:25f22869
  112.          Events : 0.179202
  113.  
  114.     Number   Major   Minor   RaidDevice State
  115.        0       8        2        0      active sync   /dev/sda2
  116.        1       8       18        1      active sync   /dev/sdb2
  117.        2       8       34        2      active sync   /dev/sdc2
  118.        3       8       50        3      active sync   /dev/sdd2
RAW Paste Data
Top