[DRBD-user] mounting drbd volume

Umair Siddiqi umair at csm.com.pk
Mon Apr 25 11:46:13 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


So this means, I'll have to copy tmppart to the other server, before
running the sfdisk on secondary server?

This is what I get from sfdisk:

[root at acbl1 root]# more tmppart

Disk /dev/cciss/c0d0: 35419 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/cciss/c0d0p1   *      0+     12      13-    104391   83  Linux
/dev/cciss/c0d0p2         13    2562    2550   20482875   83  Linux
/dev/cciss/c0d0p3       2563    5112    2550   20482875   83  Linux
/dev/cciss/c0d0p4       5113   35418   30306  243432945    f  Win95
Ext'd (LBA)
/dev/cciss/c0d0p5       5113+   6387    1275-  10241406   83  Linux
/dev/cciss/c0d0p6       6388+   7534    1147-   9213246   82  Linux swap
/dev/cciss/c0d0p7       7535+   7789     255-   2048256   83  Linux
/dev/cciss/c0d0p8       7790+  35418   27629- 221929911   83  Linux


Should I go ahead and do this on secondary server. I hope this would not
mess up my other filesystems






-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Leroy van
Logchem
Sent: Monday, April 25, 2005 2:25 PM
To: drbd-user at linbit.com
Subject: Re: [DRBD-user] mounting drbd volume

Umair Siddiqi wrote:

>- prepare partitions on both sides using identical parameters ( sfdisk 
>-l /dev/cciss/c0d0p8 > tmppart  followed by a sfdisk /dev/cciss/c0d0p8
<
>
>tmppart on the other side )
>
>What do you mean by both sides, is it both the servers?
>Secondly, on first server its >, and on the other server it is <.
Please
>excuse me since I Am not expert on Linux.
>
>Ayhow I tried to run this command and got this message
>  
>
The tmppart is a file describing your partition table, you need to copy
this
to the other side in order to read it back using the unix < redirection 
sign.
Sfdisk is right in it's message; should have used the disk
/dev/cciss/c0d0

_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list