1826644 Members
3484 Online
109695 Solutions
New Discussion

creatng a logical volume

 
Jeff Hagstrom
Regular Advisor

creatng a logical volume

I'm creating a logical volume, however the Use column says unused with no mount directory? Why won't it create the volume?
10 REPLIES 10
Vihang.
Trusted Contributor

Re: creatng a logical volume

Hi Jeff,

Can you post the exact command you are running & also some further details about what exactly you are trying to do.


Regards,
Vihang.
James R. Ferguson
Acclaimed Contributor

Re: creatng a logical volume

Hi Jeff:

> I'm creating a logical volume, however the Use column says unused with no mount directory?

What exactly are you doing? What command are you using? What is the "use column"?

> Why won't it create the volume?

What error message do you get?

Regards!

...JRF...
Jeff Hagstrom
Regular Advisor

Re: creatng a logical volume

I have an RP7410 running 11.11 and I need to add a new logical volume called vg01-u13 mounted to /u13 vg01-u14 mounted to u14. I am using SAM to add the volume group.
SKR_1
Trusted Contributor

Re: creatng a logical volume

mkdir /u13
mkdir /u14
lvcreate -L size -n u13 /dev/vg01
newfs -F vxfs -o largefiles /dev/vg01/ru13
mount -f vxfs /dev/vg01/u13 /u13
make the entry in /etc/fstab

similar steps to u14

Thanks

SKR
Robert-Jan Goossens
Honored Contributor

Re: creatng a logical volume

Hi,

I have an RP7410 running 11.11 and I need to add a new logical volume called vg01-u13 mounted to /u13 vg01-u14 mounted to u14. I am using SAM to add the volume group.

---
# mkdir /u13
# lvcreate -L xxxx -n vg01-u13 /dev/vg01
change the xxxx into the size in MB
# newfs -F vxfs /dev/vg01/rvg01-u13
# mount /dev/vg01/vg01-u13 /u13
change the /etc/fstab

Regards,
Robert-Jan
Jeff Hagstrom
Regular Advisor

Re: creatng a logical volume

This is the message/error that comes out after creating the LG.

The command used to remove a logical volume, /sbin/lvremove, has failed.
The stderr output from the command is shown below.

The logical volume has not been removed.
lvremove: Couldn't query physical volume "/dev/dsk/c6t0d0":
The specified path does not correspond to physical volume attached to this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c6t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume
"/dev/dsk/c6t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c6t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running
kernel:Kernel indicates 1 disks for "/dev/vg01"; /etc/lvmtab has 2 disks
Torsten.
Acclaimed Contributor

Re: creatng a logical volume

Looks like you have a failed disk.

Check

# ioscan -fn

for /dev/dsk/c6t0d0.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Prashanth Waugh
Esteemed Contributor

Re: creatng a logical volume

Hi,

first check the
1) ioscan -fnC disk |grep c6t0d0

2) check whether pv is a part of vg01
vgdislpay -v vg01 |grep c6t0d0

Regards
Atul
For success, attitude is equally as important as ability
Deepak Kr
Respected Contributor

Re: creatng a logical volume

Hi Jeff,

provide following

#vgdisplay -v vg01

Also

#vgcfgrestore -v -l vg01

Regarding disk you run ioscan and verify if you can see disk in ioscan o/p

pvdisplay diskname
"There is always some scope for improvement"
Sp4admin
Trusted Contributor

Re: creatng a logical volume

Hi Jeff,
Are you trying to remove the logical volume? Have you odne a ioscan to make sure the disk is claimed? You should beable to created it as Robert suggested.

sp,