Sponsored Content
Full Discussion: lvm with -- on the name
Operating Systems Linux Red Hat lvm with -- on the name Post 302353824 by itik on Wednesday 16th of September 2009 10:04:23 AM
Old 09-16-2009
lvm with -- on the name

Hi All,

I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash).

I was able to create it smoothly with this instructions.

lvcreate -L 1G uservg -n xxx-yyy
ls /dev/uservg/xxx-yyy (check)
mkfs.ext3 /dev/uservg/xxx-yyy
mount /dev/uservg/xxx-yyy /xxx-yyy

But when I do df-k, it will showed like this

/dev/mapper/uservg-xxx--yyy (note, that it have -- dash on it, double dash)

Is that okay? I got error when I'm not the root with doing the df -k of

df: `/xxx-yyy': Permission denied

Although the chmod is 775, it's still making an error like that on the permission.

But it's also okay, if the user owner or group owner will do the df -k, no permission error.

Is the - name allowed on the middle of the filesystem naming on lvm?


Any comment you may add will be highly appreciated. Thanks.

Last edited by itik; 09-16-2009 at 11:09 AM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

When to use LVM?

Having first encountered LVM in HP-UX and now experimenting with it in Redhat and Gentoo, I am wondering, when is it actually good practice to use LVM? Obviously LVM doesn't work for boot partitions, so that question is a pretty easy answer: Not for /boot in Linux. While trying to figure out... (1 Reply)
Discussion started by: deckard
1 Replies

2. AIX

Help with LVM

Sorry for the noob question; my experience is with Solaris. Am I reading this right? Are these disks completely unused? Not possibly raw disks for informix or something? hdisk5 0K-08-ff-0,1 Optimal RAID 10 Array 285.7GB pdisk20 0K-08-00-2,0 Active Array Member 142.8GB... (2 Replies)
Discussion started by: filosmith
2 Replies

3. Red Hat

Lvm

Hi, can we create logical volume from 2 different volume groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies

4. AIX

lvm

Hi. can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies

5. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

6. AIX

Help with lvm

i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg at the end i get error in mail that: At least one partition mirror is broken please call sysadmin hd5 boot 1 2 2 closed/stale N/A the other fs seems ok and sync what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies

7. Red Hat

LVM Help

Hi, I have extended the logical drive on my SMART ARRAY on a BL460 C class blade from 72G to 300G (disk upgrade RAID0+1). It went fine and the new larger disks have now sync'ed up. I now need to create additional disk space on my linux OS (RH) via LVM but I am unable to see the additional... (9 Replies)
Discussion started by: Duffs22
9 Replies

8. Linux

LVM

Hi , I have 500 GB hard drive in my office server, previous employee installed fedora in to it, with 50 GB / and 120 GB (/opt/backup 15GB, /opt/test 5GB so on) . i have 180 GB free space left , so I have created LVM in 180 GB and moved all data from 120 GB to 180 . Now i need to create lvm in... (1 Reply)
Discussion started by: ram5019
1 Replies

9. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

10. AIX

Need LVM Help

Hello, I need some help, it is slightly urgent so any help is appreciated. We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again. /:migratepv... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
LVSCAN(8)						      System Manager's Manual							 LVSCAN(8)

NAME
lvscan - scan (all disks) for Logical Volumes SYNOPSIS
lvscan [-a|--all] [-b|--blockdevice] [-d|--debug] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose] DESCRIPTION
lvscan scans all known volume groups or all supported LVM block devices in the system for defined Logical Volumes. The output consists of one line for each Logical Volume indicating whether or not it is active, a snapshot or origin, the size of the device and its allocation policy. Use lvs(8) or lvdisplay(8) to obtain more-comprehensive information about the Logical Volumes. OPTIONS
See lvm for common options. --all Include information in the output about internal Logical Volumes that are components of normally-accessible Logical Volumes, such as mirrors, but which are not independently accessible (e.g. not mountable). For example, after creating a mirror using 'lvcreate -m1 --mirrorlog disk', this option will reveal three internal Logical Volumes, with suffixes mimage_0, mimage_1, and mlog. -b, --blockdevice This option is now ignored. Instead, use lvs(8) or lvdisplay(8) to obtain the device number. SEE ALSO
lvm(8), lvcreate(8), lvdisplay(8) lvs(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVSCAN(8)
All times are GMT -4. The time now is 04:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy