• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick Linux question

Joemonkey

Diamond Member
I want to know what my primary hard drive is mounted as in a Red Hat install. Usually it is something like /dev/sda1 but I have no idea where to get this information. I looked in the fstab file and there was something like /dev/VolGroup00/ but I wasn't sure if that was something else.

i know there's gotta be an easy way to do it, but I just don't know it.
 
If it's /dev/VolGroup00/LogVol01 then you're using LVM and the drive it's on doesn't really matter unless you plan on doing something like removing the drive.
 
There is a command though, to see what logical group the drive belongs to. probable a pvsomething or lvsomething command. I don't know, I use Webmin for working with LVM and it gives all that info.
 
pvdisplay will tell you what VG a PV is in and lvdisplay will tell you which VG a LV is in but I'm not sure how you can tell which PVs are allocated to which LVs.
 
Originally posted by: Nothinman
pvdisplay will tell you what VG a PV is in and lvdisplay will tell you which VG a LV is in but I'm not sure how you can tell which PVs are allocated to which LVs.

Ah that's true, the LV could be on any PV. And the whole point of LVM is to obfuscate that sort of thing, so you don't have to be concerned with it.
 
what if i want to install the reiserFS on red hat? would it be /dev/hda1 or /dev/VolGroup00/LogGroup00/ or whatever in the fstab file?
 
Originally posted by: Nothinman
Trust me, you don't want reiserfs...

is there any other way to set up ACL on Red Hat after joining it to an AD domain and setting up shares that use the Microsoft AD accounts to access them?
 
For ext3 filesystem ACLs I believe you just need to add the acl mount option to /etc/fstab then run 'mount -o remount <mount point>' then you can use them. How they interact with Samba and AD, I couldn't really tell you since I haven't done any of that in a long time.
 
Originally posted by: Nothinman
For ext3 filesystem ACLs I believe you just need to add the acl mount option to /etc/fstab then run 'mount -o remount <mount point>' then you can use them. How they interact with Samba and AD, I couldn't really tell you since I haven't done any of that in a long time.

you also have to install the acl package. You'll probably also want the ea package. Then just add x_attr and acl to the mount options in fstab. In fact, I think you have to do this no matter what file system you use.

And do stay away from ReiserFS. Use XFS if you want, but if you really care about your data then stick with Ext3. What you would format, if you were going to format something with a filesytem, would be the /dev/VolGroup00/LogVol00. If you formatted /dev/hda1 then you would wipe out your LVM setup (which you may want to do, but I doubt it). You'll probably also want to leave some space in the Volume Group so you can take snapshots if this is going to be used for a business (or at home, if you saw a need for snapshots).
 
Then just add x_attr and acl to the mount options in fstab. In fact, I think you have to do this no matter what file system you use.

No, XFS supports them with no special mount options as long as the right options were enabled in the kernel build. From the mount man page it looks like ext2/3 and reiserfs are the only two that require special mount options for ACL support.
 
Back
Top