1753521 Members
5364 Online
108795 Solutions
New Discussion юеВ

file not found????

 
John B Goode
Advisor

file not found????

hp 712/100 HP-UX11.00
I boot into single user (hpux -is).
lvextend -L 1000 /dev/vg00/lvol18....
Says "file not found"
cd dev
cd vg00
ls
looks like it's there to me...
lvextend works on lvol15.
I've been all over these forums and nothing will let me extend my lvols. :(
9 REPLIES 9
DIPAK KUMAR ROY
Frequent Advisor

Re: file not found????

I think it should be /dev/vg00/lvol8

Thanks
Paula J Frazer-Campbell
Honored Contributor

Re: file not found????

Hi


You might have to use full path to the lventend command.

Paula
If you can spell SysAdmin then you is one - anon
John B Goode
Advisor

Re: file not found????

duh...I think I need to take a break.
John Palmer
Honored Contributor

Re: file not found????

What does vgdisplay -v vg00 say about those volumes? Is /dev/vg00/lvol18 mentioned in the output of bdf?

It's possible to have device files in /dev/vg00 that don't have corresponding logical volumes. In which case, you can simply remove them then create your logical volume with lvcreate.

Regards,
John
Helen French
Honored Contributor

Re: file not found????

Is /usr file system mounted? If not, mount it first and then try the command again:

# mount /dev/vg00/lvol? /usr
# lvextend ...
Life is a promise, fulfill it!
Todd McDaniel_1
Honored Contributor

Re: file not found????

All those LVM commands are available under /sbin which is a part of / filesystem. There is no need to mount the /usr.

However, you may still have to use /sbin/lvextend...

But, depending on what vg00/lvol18 is, you don't have to boot to single to extend it unless you dont have JFSOnline loaded.

if you have JFS loaded, then it is fairly easy. From Multi user mode.

--lvextend -L 1000 /dev/vg00/lvol18
--fsadm -F vxfs -b 4096000 /mount/point/here


If you dont have JFSOnline, then you must go to single as you have done. and then do:

--lvextend -L 1000 /dev/vg00/lvol18
--extendfs -F vxfs /dev/vg00/lvol18
Unix, the other white meat.
Mark Grant
Honored Contributor

Re: file not found????

Looks like Paula is the only one of us that doesn't need to take a break :)

"file not found" is a common error and it doesn't come from any LVM command.
Never preceed any demonstration with anything more predictive than "watch this"
Michael Schulte zur Sur
Honored Contributor

Re: file not found????

Hi,

just wondering, dont you need /usr for that? Try mount -a and then lvextend.

greetings,

Michael
Michael Schulte zur Sur
Honored Contributor

Re: file not found????

Oops,

found it in /sbin
Does ist by any chance say: No such file or directory?
Could you give us the full command and error message?

greetings,

Michael