Operating System - HP-UX
1751976 Members
4519 Online
108784 Solutions
New Discussion юеВ

error when creating logical volume.

 
SOLVED
Go to solution
Eric Zumwalt_1
Occasional Advisor

error when creating logical volume.

I'm trying to create an a new logical volume using SAM but I keep getting an error. The error is:

lvcreate: the logical volume "/dev/vg03/info"
could not be created as a special file in the
file-syste: File exists

Any ideas would be appreciated.

Thanks.
HP-PB 100BT LAN/9000 driver install
6 REPLIES 6
John Poff
Honored Contributor
Solution

Re: error when creating logical volume.

Hi,

Look in the /dev/vg03 directory and see if there is an info and/or rinfo file there already. You can do a 'vgdisplay -v vg03' and see if you already have a logical volume named info.

JP
Sridhar Bhaskarla
Honored Contributor

Re: error when creating logical volume.

Hi Eric,

What error are you getting when you run the command

#lvcreate -n info -L size_in_mb vg03

What do you have under vg03?

ll /dev/vg03

Can you do a 'vgdisplay -v /dev/vg03" and see the logical volumes in it?.
Also do 'vgdisplay vg03" and note the "Cur LV" value. You should have twice many special device files under /dev/vg03.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Eric Zumwalt_1
Occasional Advisor

Re: error when creating logical volume.

I took a look in the /dev/vg03 and there was a file in there called info. Not sure why. I removed it and then was able create the logical volume. Thanks for the quick response.

HP-PB 100BT LAN/9000 driver install
Tim D Fulford
Honored Contributor

Re: error when creating logical volume.

Hi

I suspect you already have a logical volume called info.

1 - vgdisplay -v vg03
This will list all the volume groups in vg03

2 - Alternatively & probably quicker
cd /dev/vg03
ls -l

If so create under a different name, say info2 or information... you get the idea

Tim
-
Tim D Fulford
Honored Contributor

Re: error when creating logical volume.

Hi

when you said you "removied it" I take it is was an ordinary file & not a block or character dervice? e.g. before you removed "ino", if you did "ls -l info" it had a leading - NOT c or b eg
-rw-rw-rw- root sys <..whatever..> info

If so all is well withe the world. If was a block then you may be in trouble???

Any way glad to have helped

Tim
-
Eric Zumwalt_1
Occasional Advisor

Re: error when creating logical volume.

It was just a regular file. Not sure why it was there.
HP-PB 100BT LAN/9000 driver install