Share Pastebin
Guest
Public paste!

rhk

By: a guest | Oct 26th, 2008 | Syntax: None | Size: 4.58 KB | Hits: 146 | Expires: Never
Copy text to clipboard
  1. rhk@rubert:~$ df -h
  2. Filesystem            Size  Used Avail Use% Mounted on
  3. /dev/md0               38G   21G   16G  57% /        
  4. varrun               1000M   88K 1000M   1% /var/run  
  5. varlock              1000M     0 1000M   0% /var/lock
  6. udev                 1000M   92K 1000M   1% /dev      
  7. devshm               1000M     0 1000M   0% /dev/shm  
  8. lrm                  1000M   44M  956M   5% /lib/modules/2.6.24-21-generic/volatile
  9. /dev/md1              319G  176G  127G  59% /home                                  
  10. /dev/sdc1             230G   87G  132G  40% /media/disk                            
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. rhk@rubert:~$ sudo mdadm --detail /dev/md0
  22. /dev/md0:                                
  23.         Version : 00.90.03                
  24.   Creation Time : Tue May  8 22:28:25 2007
  25.      Raid Level : raid1                  
  26.      Array Size : 40009728 (38.16 GiB 40.97 GB)
  27.   Used Dev Size : 40009728 (38.16 GiB 40.97 GB)
  28.    Raid Devices : 2                            
  29.   Total Devices : 2                            
  30. Preferred Minor : 0                            
  31.     Persistence : Superblock is persistent    
  32.  
  33.     Update Time : Sun Oct 26 13:13:27 2008
  34.           State : active                  
  35.  Active Devices : 2                      
  36. Working Devices : 2                      
  37.  Failed Devices : 0                      
  38.   Spare Devices : 0                      
  39.  
  40.            UUID : d22e34a7:79f2fcc0:d8e00157:c2def9a6
  41.          Events : 0.53                              
  42.  
  43.     Number   Major   Minor   RaidDevice State
  44.        0       8        1        0      active sync   /dev/sda1
  45.        1       8       17        1      active sync   /dev/sdb1
  46.  
  47.  
  48.  
  49.  
  50. rhk@rubert:~$ sudo mdadm --detail /dev/md1
  51. /dev/md1:                                
  52.         Version : 00.90.03                
  53.   Creation Time : Tue May  8 22:28:35 2007
  54.      Raid Level : raid1                  
  55.      Array Size : 339686272 (323.95 GiB 347.84 GB)
  56.   Used Dev Size : 339686272 (323.95 GiB 347.84 GB)
  57.    Raid Devices : 2                              
  58.   Total Devices : 2
  59. Preferred Minor : 1
  60.     Persistence : Superblock is persistent
  61.  
  62.     Update Time : Sun Oct 26 13:13:26 2008
  63.           State : clean
  64.  Active Devices : 2
  65. Working Devices : 2
  66.  Failed Devices : 0
  67.   Spare Devices : 0
  68.  
  69.            UUID : e6109aa4:16fc5a88:1d4bc0dd:a29cc625
  70.          Events : 0.96
  71.  
  72.     Number   Major   Minor   RaidDevice State
  73.        0       8        5        0      active sync   /dev/sda5
  74.        1       8       21        1      active sync   /dev/sdb5
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87. rhk@rubert:~$ sudo fdisk /dev/sda -l
  88.  
  89. Disk /dev/sda: 400.0 GB, 400088457216 bytes
  90. 255 heads, 63 sectors/track, 48641 cylinders
  91. Units = cylinders of 16065 * 512 = 8225280 bytes
  92. Disk identifier: 0x000a1148                    
  93.  
  94.    Device Boot      Start         End      Blocks   Id  System
  95. /dev/sda1   *           1        4981    40009851   fd  Linux raid autodetect
  96. /dev/sda2            4982        6227    10008495   83  Linux
  97. /dev/sda3            6228        6352     1004062+  82  Linux swap / Solaris
  98. /dev/sda4            6353       48641   339686392+   5  Extended
  99. /dev/sda5            6353       48641   339686361   fd  Linux raid autodetect
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108. rhk@rubert:~$ sudo fdisk /dev/sdb -l
  109.  
  110. Disk /dev/sdb: 400.0 GB, 400088457216 bytes
  111. 255 heads, 63 sectors/track, 48641 cylinders
  112. Units = cylinders of 16065 * 512 = 8225280 bytes
  113. Disk identifier: 0x000c1c47
  114.  
  115.    Device Boot      Start         End      Blocks   Id  System
  116. /dev/sdb1   *           1        4981    40009851   fd  Linux raid autodetect
  117. /dev/sdb2            4982        6227    10008495   83  Linux
  118. /dev/sdb3            6228        6352     1004062+  82  Linux swap / Solaris
  119. /dev/sdb4            6353       48641   339686392+   5  Extended
  120. /dev/sdb5            6353       48641   339686361   fd  Linux raid autodetect
  121.  
  122.  
  123.  
  124.  
  125. rhk@rubert:~$ cat /etc/fstab
  126. # /etc/fstab: static file system information.
  127. #
  128. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  129. proc            /proc           proc    defaults        0       0
  130. # /dev/md0
  131. UUID=775f9be7-322c-4c0c-8375-e52dd152d5e8 /               ext3    relatime,errors=remount-ro 0       1
  132. # /dev/md1
  133. UUID=f2976ed7-f8dd-4c33-b03c-572bd0b99dcd /home           ext3    relatime        0       2
  134. # /dev/sda3
  135. UUID=6a4c405b-2f60-411f-968e-d14614fab20f none            swap    sw              0       0
  136. # /dev/sdb3
  137. UUID=d94cca15-b20c-4cbf-8b86-9674baba03e1 none            swap    sw              0       0
  138. /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
  139. rhk@rubert:~$