The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-16-2009
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
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..
  #2 (permalink)  
Old 09-17-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,929
I believe that '-' is an illegal character in logical volume names. See redhat bug 491746.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0