Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem creating a new lv 1

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
GB
I've built a new server using a NIM image. The OS side has built fine.

Since then I've created a new volume group called logsvg, consisting at the moment of 1 disk. The vg will contain 2 lv's - mqmloglv and mqmerrorlv, with the fs mounted in /var/mqm/log and /var/mqm/errors respectively.

There has been no problem in creating and mounting the mqmloglv lv and respective fs.

When creating the mqmerrorlv lv all has gone smoothly. Lsvg -l output as follows:

logsvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
mqmloglv jfs2 1 1 1 open/syncd /var/mqm/log
mqmerrorlv jfs2 1 1 1 closed/syncd N/A
loglv01 jfs2log 1 1 1 open/syncd N/A

When creating the fs for mqmerrorlv and giving it the /var/mqm/errors mount point (in smitty) it refuses, as follows:

crfs: 0506-909 /var/mqm/errors file system already exists.

The filesystem didn't exist!

I then created the filesystem and asked it to mount, which confused me even more:

mount: 0506-324 Cannot mount /dev/mqmerrlv on /var/mqm/errors: A file or directory in the path name does not exist.

Note here it is using mqmerrlv, not mqmerrorlv. An lsvg -l on all the vg's does not find this lv, nor does an lspv -l on all the pv's, and /etc/filesystem has no record of mqmerrlv.

I can't even rmlv it as it says it doesn't exist in the Device Configuration Database!

Can anyone suggest how I find where it's got confused, and more importantly where I can fix it?

Thanks in advance.



 
OK, what does lsfs show?
and
lsvg -o|lsvg -il

Just to be on the safe side: are you sure you're on the correct server?


HTH,

p5wizard
 
Sorry - don't know how to remove a posting once its posted. I was barking up the wrong tree - why was I looking at lv's when its complaining about an fs. I simply removed the fs and recreated it.

All's OK, but thanks anyway.
 
[off topic]
Phorbiuz,

You can either Ref-Flag a post, and explain to forum management that you want the whole item removed, or you can add a post and explain you solved your problem yourself. Note: if you find a solution yourself and share it with us, you may even get rewarded for doing just that.
[/off topic]

HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top