1830044 Members
9587 Online
109998 Solutions
New Discussion

Re: pvcreate

 
yulianto piyut
Valued Contributor

pvcreate

all,

I have system running with Redhat AS 4. when i try to pvcreate new lun,there is error like this:

pvcreate -- ERROR: "/etc/lvmtab" doesn't exist or is unreadable; you may need to run vgscan

anyone know how to fix it ?



-yut-
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: pvcreate

.. and when you ran 'vgscan', what did it say?
One long-haired git at your service...
yulianto piyut
Valued Contributor

Re: pvcreate

when i run vgscan:

root -> vgscan
Reading all physical volumes. This may take a while...
/dev/cdrom: open failed: No medium found
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sda: read failed after 0 of 4096 at 549781962752: Input/output error
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sda1: read failed after 0 of 512 at 549777571840: Input/output error
/dev/sda1: read failed after 0 of 2048 at 0: Input/output error
/dev/sdb: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb: read failed after 0 of 4096 at 549781962752: Input/output error
/dev/sdb: read failed after 0 of 4096 at 0: Input/output error
/dev/sdb1: read failed after 0 of 512 at 549777571840: Input/output error
/dev/sdb1: read failed after 0 of 2048 at 0: Input/output error
No volume groups found
Andrew Cowan
Honored Contributor

Re: pvcreate

What happens if you run "fdisk -l"? This looks like you have a corrupt partition tables(s)?