Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
- 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 ------------------------------- [root at acbl1 root]# sfdisk -l /dev/cciss/c0d0p8 > tmppart Warning: start=125146413 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. [Use the --force option if you really want this] -------------------------------- -----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 1:54 PM To: drbd-user at linbit.com Subject: Re: [DRBD-user] mounting drbd volume > /dev/cciss/c0d0p8 as /dev/drbd0 /data > > Now what I would like to do is re-create this device. > I'am no expert but I would guess: - disconnect drbd - you might want to use a dedicated meta-disk /dev/cciss/c0d0p9[0]; in your drbd.conf - 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 ) - clean it using dd if=/dev/zero of=/dev/cciss/c0d0p9 and invalidate your drbd0 - make it primary drbdsetup /dev/drbd0 primary --do-what-I-say - rebuild the filesystem using mkfs.ext3 /dev/drbd0 - reconnect drbd -- Leroy _______________________________________________ drbd-user mailing list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user