[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID1 all bootable



Sorry, I forgot both the list and the appropriate output;

root@....:/home/francesco# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000f1911

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      385023      191488   fd  Linux raid autodetect
/dev/sda2          385024   976166911   487890944   fd  Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0000cca6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048      385023      191488   fd  Linux raid autodetect
/dev/sdb2          385024   976166911   487890944   fd  Linux raid autodetect

Disk /dev/md0: 195 MB, 195887104 bytes
2 heads, 4 sectors/track, 47824 cylinders, total 382592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 499.5 GB, 499465912320 bytes
2 heads, 4 sectors/track, 121939920 cylinders, total 975519360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/mapper/vg1-root: 998 MB, 998244352 bytes
255 heads, 63 sectors/track, 121 cylinders, total 1949696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-root doesn't contain a valid partition table

Disk /dev/mapper/vg1-swap: 15.0 GB, 14998831104 bytes
255 heads, 63 sectors/track, 1823 cylinders, total 29294592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-swap doesn't contain a valid partition table

Disk /dev/mapper/vg1-usr: 30.0 GB, 29997662208 bytes
255 heads, 63 sectors/track, 3647 cylinders, total 58589184 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-usr doesn't contain a valid partition table

Disk /dev/mapper/vg1-opt: 9999 MB, 9999220736 bytes
255 heads, 63 sectors/track, 1215 cylinders, total 19529728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-opt doesn't contain a valid partition table

Disk /dev/mapper/vg1-var: 9999 MB, 9999220736 bytes
255 heads, 63 sectors/track, 1215 cylinders, total 19529728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-var doesn't contain a valid partition table

Disk /dev/mapper/vg1-tmp: 2998 MB, 2998927360 bytes
255 heads, 63 sectors/track, 364 cylinders, total 5857280 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-tmp doesn't contain a valid partition table

Disk /dev/mapper/vg1-home: 430.0 GB, 430000046080 bytes
255 heads, 63 sectors/track, 52277 cylinders, total 839843840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg1-home doesn't contain a valid partition table
root@....:/home/francesco#

root@.....:/home/francesco# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
       487759680 blocks super 1.2 [2/2] [UU]

 md0 : active raid1 sda1[0] sdb1[1]
       191296 blocks super 1.2 [2/2] [UU]

 unused devices: <none>
 root@.....:/home/francesco#

 francesco@.....:~$ df -h
 Filesystem            Size  Used Avail Use% Mounted on
 rootfs                938M  185M  705M  21% /
 udev                   10M     0   10M   0% /dev
 tmpfs                 807M  628K  807M   1% /run
 /dev/mapper/vg1-root  938M  185M  705M  21% /
 tmpfs                 5.0M     0  5.0M   0% /run/lock
 tmpfs                 1.6G   84K  1.6G   1% /run/shm
 /dev/md0              176M   19M  148M  11% /boot
 /dev/mapper/vg1-home  395G  284G   91G  76% /home
 /dev/mapper/vg1-opt   9.2G  1.5G  7.3G  17% /opt
 /dev/mapper/vg1-tmp   2.8G   69M  2.6G   3% /tmp
 /dev/mapper/vg1-usr    28G  4.3G   22G  17% /usr
 /dev/mapper/vg1-var   9.2G  840M  7.9G  10% /var
 francesco@.....:~$

This is the currest status.
 "grub-install /dev/sdb" was run with that situation (deriving from
install with amd64 wheezy B$ installer downloaded on Feb 1, 2013. That
installation ended with

grub-install /dev/sda
update grub

Thanks
francesco pietra

On Wed, Mar 6, 2013 at 7:02 PM, Shane Johnson
<sdj@rasmussenequipment.com> wrote:
>
>
> <snip>
>
>> As far as I can remember, I already posted for this system
>>
>> root@.....:/home/francesco# cat /proc/mdstat
>> Personalities : [raid1]
>> md1 : active raid1 sda2[0] sdb2[1]
>>       487759680 blocks super 1.2 [2/2] [UU]
>>
>> md0 : active raid1 sda1[0] sdb1[1]
>>       191296 blocks super 1.2 [2/2] [UU]
>>
>> unused devices: <none>
>> root@.....:/home/francesco#
>>
>> francesco@.....:~$ df -h
>> Filesystem            Size  Used Avail Use% Mounted on
>> rootfs                938M  185M  705M  21% /
>> udev                   10M     0   10M   0% /dev
>> tmpfs                 807M  628K  807M   1% /run
>> /dev/mapper/vg1-root  938M  185M  705M  21% /
>> tmpfs                 5.0M     0  5.0M   0% /run/lock
>> tmpfs                 1.6G   84K  1.6G   1% /run/shm
>> /dev/md0              176M   19M  148M  11% /boot
>> /dev/mapper/vg1-home  395G  284G   91G  76% /home
>> /dev/mapper/vg1-opt   9.2G  1.5G  7.3G  17% /opt
>> /dev/mapper/vg1-tmp   2.8G   69M  2.6G   3% /tmp
>> /dev/mapper/vg1-usr    28G  4.3G   22G  17% /usr
>> /dev/mapper/vg1-var   9.2G  840M  7.9G  10% /var
>> francesco@.....:~$
>>
>>
>> the "deadly command' "grub-install /dev/sdb"  was run with the system
>> started as above.
>>
>> Thanks
>> francesco pietra
>> <snip>
>
> Francesco,
> The df -h shows us what is mounted but not if the drives are partitioned or
> not.  Can you do fdisk -l  and send us the output of that?
> Also, you replied directly to me without the mailing list.  I have included
> it in the CC so that everyone can share in the knowledge.  Please make sure
> you always reply to the list.(Reply-all works real good for this.)
>
> Thanks
>
>
> --
> Shane D. Johnson
> IT Administrator
> Rasmussen Equipment
>
>


Reply to: