HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- confusion about logic volume
Operating System - HP-UX
1836512
Members
2145
Online
110101
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 09:52 PM
04-10-2002 09:52 PM
confusion about logic volume
i have question about logic volume:
i know command:
lvchange -p r /dev/vg01/lvol1 is to change lvol1 to read-only
however,my question is what can i do to affirm that the volume could be written now ,and when it change to read-only ,how can i affirm the change has been done.
of course ,i know i can check the attribution of the volume,i just wanna know other ways to do it.
i know command:
lvchange -p r /dev/vg01/lvol1 is to change lvol1 to read-only
however,my question is what can i do to affirm that the volume could be written now ,and when it change to read-only ,how can i affirm the change has been done.
of course ,i know i can check the attribution of the volume,i just wanna know other ways to do it.
help ,help,help :-)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 10:10 PM
04-10-2002 10:10 PM
Re: confusion about logic volume
Hi,
How about when you set the lvol to read-only and try then to write a file in the lvol.
If possible it's not read only, and if not possible it's read-only.
C.
How about when you set the lvol to read-only and try then to write a file in the lvol.
If possible it's not read only, and if not possible it's read-only.
C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 10:14 PM
04-10-2002 10:14 PM
Re: confusion about logic volume
Hi
touch testfile
ls testfile
if its there your NOT read only , the touch should fail if read only.
John.
touch testfile
ls testfile
if its there your NOT read only , the touch should fail if read only.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 10:14 PM
04-10-2002 10:14 PM
Re: confusion about logic volume
hi,
we can use lvchange command with following options for changing permissions.
-r - readonly
-w - read-write
To check whether this works , simple way is to
create a file in the filesystem of the logical
volume in which you assigned permission,
I an not sure about the logic how it works, but i think that some bits will get changed for that logical volume's device file(eg./dev/vg02/lvol1), when you change permission.
regards,
U.SivaKumar
we can use lvchange command with following options for changing permissions.
-r - readonly
-w - read-write
To check whether this works , simple way is to
create a file in the filesystem of the logical
volume in which you assigned permission,
I an not sure about the logic how it works, but i think that some bits will get changed for that logical volume's device file(eg./dev/vg02/lvol1), when you change permission.
regards,
U.SivaKumar
Innovations are made when conventions are broken
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP