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

RE: [Linux-cluster] DLM Problem



In your example run gfs_mkfs against /dev/sda1.

> -----Original Message-----
> From: linux-cluster-bounces redhat com [mailto:linux-cluster-
> bounces redhat com] On Behalf Of isplist 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 redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster


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