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

Re: [linux-lvm] Problem with partition table on LV



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


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