Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
*********************** This mail has been scanned by InterScan MSS. ***********-*********** Thanks for quick reply :) the attachment is the log if I execute xfs_repair on the volume which has problem (source volume is damaged and unable to mount ,but remote volume is mounted successfully). It seems the primary supreblock is damaged. After xfs_repair, I am able to mount the volume, however a directory called "lost+found" is created. Is it because I resized the volume and this move demaged the volume? I was trying to "drbdadm down" the volume, shrinked the volume by 128MB (to remove metadata) then mount the lvm device. David Huang -----Original Message----- From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com]On Behalf Of Lars Ellenberg Sent: Tuesday, August 23, 2005 4:53 PM To: drbd-user at lists.linbit.com Subject: Re: [DRBD-user] XFS with DRBD problem / 2005-08-23 12:04:32 +0800 \ David Huang: > Hi DRBD users > > Does anyone have problem with DRBD on LVM2 and XFS (yes, I have to use > XFS)? I use this combination on my system. Sometimes DRBD works > fine,but sometimes I am unable to mount the drbd device or the LVM > device after replication. Sometimes I am able to mount the filesystem, > however the contains are lost. > > The filesystem can be fixed by xfs_repair most of time. xfs_repair > always say that the superblock is broken (or damaged? forgot the > correct term). I think it is a quite serious issue. since we know people are using it successfully since over a year in not too small production environments, I'm very confident that whatever weirdness you see is not drbds fault. 1. make sure you use at least 8K stack size in your kernel. 2. make sure you use a 2.6.12.4 or later kernel. (the bio-clone data corruption issue) 3. make sure you use recent lvm and xfs and whatnot tools. > The attachment is the kernel messages. Any helps and suggestions are welcome. sorry, no time for that, right now... but one thing is strange from a glance: sometimes I see > XFS mounting filesystem drbd1 ^^^^^^^ then I see > XFS mounting filesystem dm-5 ^^^^^^ and I recommend to explicitly specify the file system type, to avoid mounts guessing heuristics: > FAT: Unrecognized mount option "usrquota" or missing value cheers, -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client. _______________________________________________ drbd-user mailing list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user