A valid Partition Table
I'm runing Rhel 5.2 and I created a disk as following:
A. pvcreate /dev/cciss/c0d1 B. vgcreate /dev/vg01 /dev/cciss/c0d1 C. lvcreate –L 5000 –nlvol1 /dev/vg01 /dev/cciss/c0d1 D. mke2fs –j /dev/vg01/lvol1 E. Now create directory… mkdir /tmp99_mnt F. Now vi /etc/fstab and add the following entry: /dev/vg01/lvol9 /tmp99_mnt ext3 defaults 1 2 So I was bale to munt it and now as soon as I run "fdisk -l" it says I do not have a valid partition table. So what do that mean and how what I need to do to ensure that I will not have any problem later. |
i suspect because the PV metadata is written on the block device (c0d1) where the partition table would reside rather than creating a partition (c0d1p1) and pvcreate on it. I could be mistaken since i'm not familiar with cciss and am making an assumption based on the name.
:study: |
How would I created the partition c0d0p1 first? If you have another disk and need to created it as a physical volume, then create a vollume group and the add a logical volume group and a file system to it what are the stpes you would do?
|
Code:
fdisk /dev/cciss/c0d1 sdc is pvcreate directly on block device sdd has pvcreate run on first partition Code:
[root@example ~]# fdisk -l /dev/sd[cd] hope this clears it up. :study: |
I wonder how /dev/cciss/c0d1 sort of disk naming convention(solaris-type) comes under Rhel.
|
cciss is the module for HP Smart Array Controllers
|
ok thanks
|
All times are GMT -5. The time now is 07:33 PM. |