Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2011
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. root@bottenskrap:~# fdisk -l
  2.  
  3. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
  4. 255 heads, 63 sectors/track, 243201 cylinders
  5. Units = cylinders of 16065 * 512 = 8225280 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0x00000000
  9.  
  10. Device Boot Start End Blocks Id System
  11. /dev/sdb1 * 1 243201 1953512001 83 Linux
  12.  
  13. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
  14. 255 heads, 63 sectors/track, 243201 cylinders
  15. Units = cylinders of 16065 * 512 = 8225280 bytes
  16. Sector size (logical/physical): 512 bytes / 512 bytes
  17. I/O size (minimum/optimal): 512 bytes / 512 bytes
  18. Disk identifier: 0x00000000
  19.  
  20. Device Boot Start End Blocks Id System
  21. /dev/sda1 * 1 243201 1953512001 83 Linux
  22.  
  23. Disk /dev/sdc: 250.1 GB, 250059350016 bytes
  24. 255 heads, 63 sectors/track, 30401 cylinders
  25. Units = cylinders of 16065 * 512 = 8225280 bytes
  26. Sector size (logical/physical): 512 bytes / 512 bytes
  27. I/O size (minimum/optimal): 512 bytes / 512 bytes
  28. Disk identifier: 0x0001cac2
  29.  
  30. Device Boot Start End Blocks Id System
  31. /dev/sdc1 * 1 1216 9764864 83 Linux
  32. /dev/sdc2 1216 30402 234431489 5 Extended
  33. /dev/sdc5 1216 2379 9337856 82 Linux swap / Solaris
  34. /dev/sdc6 2379 30402 225092608 83 Linux
  35.  
  36. Disk /dev/md0: 2000.4 GB, 2000397746176 bytes
  37. 2 heads, 4 sectors/track, 488378356 cylinders
  38. Units = cylinders of 8 * 512 = 4096 bytes
  39. Sector size (logical/physical): 512 bytes / 512 bytes
  40. I/O size (minimum/optimal): 512 bytes / 512 bytes
  41. Disk identifier: 0x00000000
  42.  
  43. Disk /dev/md0 doesn't contain a valid partition table
  44.  
  45.  
  46.  
  47. ---------------------------------------------------------------------------------------------------------
  48.  
  49.  
  50. root@bottenskrap:~# cat /etc/fstab
  51. # /etc/fstab: static file system information.
  52. #
  53. # Use 'blkid' to print the universally unique identifier for a
  54. # device; this may be used with UUID= as a more robust way to name devices
  55. # that works even if disks are added and removed. See fstab(5).
  56. #
  57. # <file system> <mount point> <type> <options> <dump> <pass>
  58. proc /proc proc defaults 0 0
  59. # / was on /dev/sdc1 during installation
  60. UUID=f1e14313-2ca9-4212-887e-6830696a7c16 / ext3 errors=remount-ro 0 1
  61. # /home was on /dev/sdc6 during installation
  62. #UUID=0aafecfb-ee13-4de4-b68e-6614aaafa97a /home ext3 defaults 0 2
  63. /dev/md0 /home ext4 defaults 0 2
  64. # swap was on /dev/sdc5 during installation
  65. UUID=c2c4dbeb-2cbc-4a18-ba94-18948d240a9a none swap sw 0 0
  66. /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
  67.  
  68.  
  69.  
  70. ---------------------------------------------------------------------------------------------------------
  71.  
  72.  
  73. root@bottenskrap:~# mdadm --detail /dev/md0
  74. /dev/md0:
  75. Version : 1.2
  76. Creation Time : Thu May 19 22:03:54 2011
  77. Raid Level : raid1
  78. Array Size : 1953513424 (1863.02 GiB 2000.40 GB)
  79. Used Dev Size : 1953513424 (1863.02 GiB 2000.40 GB)
  80. Raid Devices : 2
  81. Total Devices : 1
  82. Persistence : Superblock is persistent
  83.  
  84. Update Time : Wed Aug 3 20:51:11 2011
  85. State : clean, degraded
  86. Active Devices : 1
  87. Working Devices : 1
  88. Failed Devices : 0
  89. Spare Devices : 0
  90.  
  91. Name : bottenskrap:0 (local to host bottenskrap)
  92. UUID : 1c2b1635:553e7753:48a4b884:7da7e8e6
  93. Events : 10
  94.  
  95. Number Major Minor RaidDevice State
  96. 0 0 0 0 removed
  97. 1 8 16 1 active sync /dev/sdb
  98.  
  99.  
  100. ---------------------------------------------------------------------------------------------------------
  101.  
  102.  
  103.  
  104. root@bottenskrap:~# cat /etc/mdadm/mdadm.conf
  105. # mdadm.conf
  106. #
  107. # Please refer to mdadm.conf(5) for information about this file.
  108. #
  109.  
  110. # by default, scan all partitions (/proc/partitions) for MD superblocks.
  111. # alternatively, specify devices to scan, using wildcards if desired.
  112. DEVICE partitions
  113.  
  114. # auto-create devices with Debian standard permissions
  115. CREATE owner=root group=disk mode=0660 auto=yes
  116.  
  117. # automatically tag new arrays as belonging to the local system
  118. HOMEHOST <system>
  119.  
  120. # instruct the monitoring daemon where to send mail alerts
  121. MAILADDR root
  122.  
  123. # definitions of existing MD arrays
  124.  
  125. # This file was auto-generated on Thu, 19 May 2011 22:03:00 +0200
  126.  
  127. # by mkconf 3.1.4-1+8efb9d1
  128. ARRAY /dev/md/0 metadata=1.2 UUID=1c2b1635:553e7753:48a4b884:7da7e8e6 name=bottenskrap:0
  129. ARRAY /dev/md/0 metadata=1.2 UUID=ffe3fb11:ff5d5a9f:39fae198:64a1481a name=bottenskrap:0
  130.  
  131.  
  132. ---------------------------------------------------------------------------------------------------------
  133.  
  134.  
  135. Random från dmesg:
  136.  
  137. [ 5.889502] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
  138. [ 5.889516] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
  139. [ 5.889537] sd 0:0:0:0: [sda] Write Protect is off
  140. [ 5.889539] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  141. [ 5.889542] sd 1:0:0:0: [sdb] Write Protect is off
  142. [ 5.889544] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
  143. [ 5.889555] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  144. [ 5.889563] sd 2:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/232 GiB)
  145. [ 5.889586] sd 2:0:0:0: [sdc] Write Protect is off
  146. [ 5.889588] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
  147. [ 5.889594] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  148. [ 5.889604] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  149.  
  150. [ 8.931153] md: md0 stopped.
  151. [ 8.931636] md: bind<sdb>
  152. [ 8.977771] md: raid1 personality registered for level 1
  153. [ 8.978098] raid1: raid set md0 active with 1 out of 2 mirrors
  154. [ 8.978121] md0: detected capacity change from 0 to 2000397746176
  155. [ 8.978800] md0: unknown partition table
  156.  
  157. [ 35.412691] EXT4-fs (md0): VFS: Can't find ext4 filesystem
  158.  
  159.  
  160.  
  161. ---------------------------------------------------------------------------------------------------------
  162.  
  163.  
  164. root@bottenskrap:~# mount -t ext4 /dev/md0 /home/
  165. mount: wrong fs type, bad option, bad superblock on /dev/md0,
  166. missing codepage or helper program, or other error
  167. In some cases useful info is found in syslog - try
  168. dmesg | tail or so
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement