LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   mount hard drive volumes in root account (http://www.linuxquestions.org/questions/fedora-35/mount-hard-drive-volumes-in-root-account-746358/)

ponmuralli 08-10-2009 03:01 AM

mount hard drive volumes in root account
 
could you please tell how to mount the internal hard drive volume in root account.

vishesh 08-10-2009 03:14 AM

root#mount -t ext3 <path of volume> <where to mount>
example
#mount -t ext3 /dev/vg/lv1 /mnt/data
Here /dev/vg/lv1 is volume path
If you don't know your volumes path use
#lvdisplay

for reference

Thanks

catkin 08-10-2009 03:55 AM

vishesh' reply is good if you are using LVM but it is not clear from your question that you are doing so.

What do you mean by "mount the internal hard drive volume in root account"?

Do you have only one internal hard drive volume?

Do you mean you will be root when mounting?

A volume must have a file system on it before it can be mounted.

In the simple case a volume is a hard disk partition. Is that your situation?

If you want the file system mounted each boot then you can add it to /etc/fstab.


All times are GMT -5. The time now is 05:16 PM.