Re: Problem with partition table on LV

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

 



On Sat, Mar 29, 2008 at 01:33:58PM +0200, Mufit Eribol wrote:
> Hello,
>
> After loosing all the data on my production server by issuing wrong lvm 
> commands in restoring the logical volume, I have worked for weeks to setup 
> my server again from scratch up. Now, today I noticed another problem, but 
> scared to death to touch it.
>
> This time I have to ask you before issuing any commands as obviously I 
> haven't learned LVM internals.
>
> Please find the details below. I would appreciate any help.
>
> Thanks,
> Mufit
>
> Problem:
> The system works but fdisk -l gives the following error:
>
> [root@server ~]# fdisk -l
> ...
>    Device Boot      Start         End      Blocks   Id  System
>
> Disk /dev/sdc: 799.9 GB, 799937658880 bytes
> 255 heads, 63 sectors/track, 97253 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Disk /dev/sdc doesn't contain a valid partition table

That's not an error. Its simply saying that there is no partition table on sdc.
You don't necessarily need a partition table. A lot of people actually setup
their system like this, especially when the device is from a SAN.

>  --- Physical volume ---
>  PV Name               /dev/sdc

LVM is using the correct device. You don't need to change anything.

> [root@server ~]# pvscan
>  PV /dev/sdc   VG raid_vg0   lvm2 [744.97 GB / 480.00 MB free]
>  Total: 1 [744.97 GB] / in use: 1 [744.97 GB] / in no VG: 0 [0   ]

--Dave

_______________________________________________
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