Re: Problem with Metadata at the beginning of the disk

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

 



On Fri, Aug 05, 2005 at 04:28:21PM -0400, krishnakumar, narasimha wrote:
> Hi All,
> 
> I am having a problem with the metadata at the beginning of the disk. The
> disk is a whole disk with a valid partition table. The disk is part of a
> volume group. The operations I am trying to do are the following
> 
> 1. pvcreate /dev/sdf
> 2. vgcreate samplevg  /dev/sdf
> 3. Open the device (/dev/sdf) read only (using open system call)
> 4. read 512 bytes from the beginning of the device.
> 
>  I expect atleast the ID "HM" to be at the beginning of the disk but the
> first block (512 bytes) is all 0. Anybody have any ideas how I can get the
> information like the id, version etc. Any help would be appreciated.

Try going a bit...further.

-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat                                    E-Mail: alewis@redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
   
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D  9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...

Attachment: pgp9W2JklXRHh.pgp
Description: PGP signature

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux