[Linux-cluster] DLM Problem
Derek Anderson
Derek.Anderson at compellent.com
Thu Jan 31 20:16:49 UTC 2008
In your example run gfs_mkfs against /dev/sda1.
> -----Original Message-----
> From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-
> bounces at redhat.com] On Behalf Of isplist at logicore.net
> Sent: Thursday, January 31, 2008 2:09 PM
> To: linux clustering
> Subject: Re: [Linux-cluster] DLM Problem
>
> Something else going on here.
>
> I see the device using fdisk;
>
> Disk /dev/sda doesn't contain a valid partition table
> You have new mail in /var/spool/mail/root
>
> I then use fdisk to create a partition;
>
> Disk /dev/sda: 774.2 GB, 774207700992 bytes
> 255 heads, 63 sectors/track, 94125 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 94125 756059031 83 Linux
>
> Looks fine right.
>
> Looking on the net, I can't find anything on gfs_mkfs one single drive
> so have
> to make assumptions for now.
>
> Assumptions are, lock mode, cluster name, FS name, journals and
device.
>
> #gfs_mkfs -p lock_dlm -t compweb:web -j 8 /dev/sda
>
> Seems to go fine;
>
> Device: /dev/sda
> Blocksize: 4096
> Filesystem Size: 188738976
> Journals: 8
> Resource Groups: 2882
> Locking Protocol: lock_dlm
> Lock Table: compweb:web
>
> Syncing...
> All Done
>
> Do an fdisk again;
>
> Disk /dev/sda: 774.2 GB, 774207700992 bytes
> 255 heads, 63 sectors/track, 94125 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Disk /dev/sda doesn't contain a valid partition table
>
> It's all gone. Guessing I need to gfs_mkfs some other way?
>
> Mike
>
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list