Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It is important to make sure that the installed GRUB core image stays in sync with GRUB │ │ modules and grub.cfg. Please check again to make sure that GRUB is written to the appropriate boot devices. If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of themhem.
  2.  
  3. Note: it is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered here. However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is │ │ not recommended.
  4. GRUB install devices:
  5.  
  6. [ ] /dev/sda (1500301 MB; ???) [ ] /dev/sdb (1500301 MB; ???) [ ] /dev/md2 (1497617 MB; ???) [ ] /dev/md1 (536 MB; ???)
  7.  
  8. $ sudo fdisk -l /dev/sda
  9.  
  10. Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
  11. 64 heads, 32 sectors/track, 1430799 cylinders, total 2930277168 sectors
  12. Units = sectors of 1 * 512 = 512 bytes
  13. Sector size (logical/physical): 512 bytes / 512 bytes
  14. I/O size (minimum/optimal): 512 bytes / 512 bytes
  15. Disk identifier: 0x000bab3b
  16.  
  17. Device Boot Start End Blocks Id System
  18. /dev/sda1 2048 4194303 2096128 fd Linux raid autodetect
  19. /dev/sda2 4194304 5242879 524288 fd Linux raid autodetect
  20. /dev/sda3 5242880 2930276351 1462516736 fd Linux raid autodetect
  21.  
  22.  
  23.  
  24. $ sudo fdisk -l /dev/sdb
  25.  
  26. Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
  27. 64 heads, 32 sectors/track, 1430799 cylinders, total 2930277168 sectors
  28. Units = sectors of 1 * 512 = 512 bytes
  29. Sector size (logical/physical): 512 bytes / 512 bytes
  30. I/O size (minimum/optimal): 512 bytes / 512 bytes
  31. Disk identifier: 0x000f16e2
  32.  
  33. Device Boot Start End Blocks Id System
  34. /dev/sdb1 2048 4194303 2096128 fd Linux raid autodetect
  35. /dev/sdb2 4194304 5242879 524288 fd Linux raid autodetect
  36. /dev/sdb3 5242880 2930276351 1462516736 fd Linux raid autodetect
  37.  
  38.  
  39.  
  40. $ df -h
  41. Filesystem Size Used Avail Use% Mounted on
  42. /dev/md2 1.4T 86G 1.2T 7% /
  43. none 5.9G 236K 5.9G 1% /dev
  44. none 5.9G 0 5.9G 0% /dev/shm
  45. none 5.9G 60K 5.9G 1% /var/run
  46. none 5.9G 0 5.9G 0% /var/lock
  47. /dev/md1 496M 98M 373M 21% /boot
  48.  
  49.  
  50.  
  51. $ cat /etc/mdadm/mdadm.conf
  52. DEVICES /dev/[hs]d*
  53. ARRAY /dev/md0 UUID=ca2db9aa:610f4882:776c2c25:004bd7b2
  54. ARRAY /dev/md1 UUID=ed4f5082:6ff10c9e:776c2c25:004bd7b2
  55. ARRAY /dev/md2 UUID=4f1df183:61f9d166:776c2c25:004bd7b2
  56. MAILADDR root
  57.  
  58.  
  59. $ sudo mdadm --detail /dev/md1 --detail
  60. /dev/md1:
  61. Version : 0.90
  62. Creation Time : Thu Sep 1 19:36:00 2011
  63. Raid Level : raid1
  64. Array Size : 524224 (512.02 MiB 536.81 MB)
  65. Used Dev Size : 524224 (512.02 MiB 536.81 MB)
  66. Raid Devices : 2
  67. Total Devices : 2
  68. Preferred Minor : 1
  69. Persistence : Superblock is persistent
  70.  
  71. Update Time : Tue Jan 3 18:05:29 2012
  72. State : clean
  73. Active Devices : 2
  74. Working Devices : 2
  75. Failed Devices : 0
  76. Spare Devices : 0
  77.  
  78. UUID : ed4f5082:6ff10c9e:776c2c25:004bd7b2
  79. Events : 0.20
  80.  
  81. Number Major Minor RaidDevice State
  82. 0 8 2 0 active sync /dev/sda2
  83. 1 8 18 1 active sync /dev/sdb2
  84. nomad@taw-eu1:~$ sudo mdadm --detail /dev/md2 --detail
  85. /dev/md2:
  86. Version : 0.90
  87. Creation Time : Thu Sep 1 19:36:00 2011
  88. Raid Level : raid1
  89. Array Size : 1462516672 (1394.76 GiB 1497.62 GB)
  90. Used Dev Size : 1462516672 (1394.76 GiB 1497.62 GB)
  91. Raid Devices : 2
  92. Total Devices : 2
  93. Preferred Minor : 2
  94. Persistence : Superblock is persistent
  95.  
  96. Update Time : Tue Jan 3 18:23:57 2012
  97. State : clean
  98. Active Devices : 2
  99. Working Devices : 2
  100. Failed Devices : 0
  101. Spare Devices : 0
  102.  
  103. UUID : 4f1df183:61f9d166:776c2c25:004bd7b2
  104. Events : 0.23
  105.  
  106. Number Major Minor RaidDevice State
  107. 0 8 3 0 active sync /dev/sda3
  108. 1 8 19 1 active sync /dev/sdb3
  109. nomad@taw-eu1:~$ cat /proc/mdstat
  110. Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10] [linear] [multipath]
  111. md2 : active raid1 sdb3[1] sda3[0]
  112. 1462516672 blocks [2/2] [UU]
  113.  
  114. md1 : active raid1 sdb2[1] sda2[0]
  115. 524224 blocks [2/2] [UU]
  116.  
  117. md0 : active raid1 sdb1[1] sda1[0]
  118. 2096064 blocks [2/2] [UU]
  119.  
  120. unused devices: <none>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement