LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-06-2013, 11:21 AM   #1
rvaede
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Rep: Reputation: 0
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
 
Old 03-06-2013, 12:31 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 03-06-2013, 12:41 PM   #3
rvaede
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Original Poster
Rep: Reputation: 0
I need only one /opt file system
All I needed is to expand the disk space to 100 GB.
 
Old 03-06-2013, 12:56 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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
 
Old 03-06-2013, 03:04 PM   #5
rvaede
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Original Poster
Rep: Reputation: 0
Systems unit is attaching 200 GB of disk space. Can I use LVM to expand the /opt file system?

Last edited by rvaede; 03-06-2013 at 03:23 PM.
 
Old 03-06-2013, 03:48 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
From your 1st post it appears that your /opt is a logical volume so yes.
 
Old 03-06-2013, 06:45 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See Chap 9 http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 03-06-2013, 08:08 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
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

Last edited by jefro; 03-06-2013 at 08:15 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 01:25 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
single user mode under vxfs mode enabled. UltraSoul Solaris / OpenSolaris 1 06-27-2009 09:48 PM
mount doesn't work in single user mode Dominik *BSD 3 02-10-2004 03:14 AM
mount errors on single user mode hopbalt Solaris / OpenSolaris 1 08-06-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration