LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mount in single user mode (https://www.linuxquestions.org/questions/linux-server-73/mount-in-single-user-mode-4175452985/)

rvaede 03-06-2013 11:21 AM

mount in single user mode
 
I have redhat 5.2 server.
/dev/mapper/optlv 32G 4.0G 26G 14% /opt

The systems team is going to attache 200 GB of disk storage
to the server.

I need to expand the mount /opt disk space to 100 GB or add a new mount as /opt with 100GB of disk space. The /opt file system contains 3.9 of data at this time.

How can I do that? thanks

John VV 03-06-2013 12:31 PM

first do not use "single user mode"
run the server normally in "init 3"

if i read the post right
you want to have TWO ( 2) different hdd's mounted to /opt
you do not ,unless they ARE a raid array


now the new hdd could be mounted to /opt/NewDisk

rvaede 03-06-2013 12:41 PM

I need only one /opt file system
All I needed is to expand the disk space to 100 GB.

michaelk 03-06-2013 12:56 PM

You can expand the optlv logical volume using Redhat's system-config-lvm tool. LVMs can be modified on the fly but make sure you have backups just in case.

https://access.redhat.com/knowledge/...m-new-hdd.html

rvaede 03-06-2013 03:04 PM

Systems unit is attaching 200 GB of disk space. Can I use LVM to expand the /opt file system?

michaelk 03-06-2013 03:48 PM

From your 1st post it appears that your /opt is a logical volume so yes.

chrism01 03-06-2013 06:45 PM

See Chap 9 http://www.linuxtopia.org/online_boo...ion/index.html

jefro 03-06-2013 08:08 PM

A software or hardware raid may be able to do what you wish along with the LVM solution ZFS would do it and I think btrfs can or maybe will.

Seems it can. http://www.oracle.com/technetwork/ar...s-1734952.html


All times are GMT -5. The time now is 09:08 PM.