LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2011, 12:31 PM   #1
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Rep: Reputation: 15
Question Need help with extending volume. Suse10.


Hello,

I have taken over looking after a EMC/Suse iscsi storage network.

We recently run out of space on our virtual disk, so I added another 100GB from our storage pool using the EMC management software and the virtual disk the suse box is using expanded from 1.5TB to 1.6TB. That completed fine.

However the SuSe host is still showing 1.5TB. Do I need to extend the volume somehow? Or is it just a case of restarting the suse box. I have umounted and re-mounted but no change. It is imperitive the current data on there REMAINS INTACT!

I'm a relative newb. Some help would be great.

Code:
SuseServer:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             277G  2.1G  275G   1% /
udev                  2.0G  128K  2.0G   1% /dev
/dev/sdc1             1.1T  692G  392G  64% /mnt/san1/vd003-videdit
/dev/sdb1             1.5T  1.4T  9.3G 100% /mnt/san1/vd002-studio

Last edited by Spuddy; 03-23-2011 at 12:32 PM.
 
Old 03-23-2011, 01:17 PM   #2
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
The storage pool may be larger, but the filesystem hasn't been extended, and that extra 100GB hasn't been formatted.

I know there are other ways to do it, but in the interest of data integrity, here's how I usually accomplish this sort of thing.

1) Create a new virtual disk.
2) Partition and format the new disk
3) Mount it at a temporary mount point.
4) Copy all the files from the old filesystem to the new one.
5) Modify the mount tables so the new disk gets mounted where the old one was.
6) Reboot.

The relevant question here is, do you have enough space in your SAN for another, temporary 1.6TB disk?
 
Old 03-23-2011, 01:21 PM   #3
Spuddy
Member
 
Registered: Jul 2010
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SL00b View Post
The relevant question here is, do you have enough space in your SAN for another, temporary 1.6TB disk?
Hi SL00b thanks for your response.

That would be a no unfortunately to the spare space on the SAN. Is there no way to safely extend the volume?


Thanks
 
Old 03-23-2011, 02:01 PM   #4
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
It can be done, but it's pretty dicey, so make sure you've taken a good backup first. In fact, it might even be worth your while to just wipe out the partition, resize, and restore from backup. But if you really want to just resize it: http://www.howtoforge.com/linux_resi...xt3_partitions

Basically, you're going to delete the existing partition, resize the filesystem, and re-create the partition with the same starting cylinder and a new ending cylinder boundary.
 
  


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Need assistence in logical volume extending. cj_cheema Linux - Server 2 07-04-2009 12:10 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM
Extending a logical volume in a reconfigured RAID 5 array set cswebb Linux - Hardware 3 12-19-2008 02:16 AM
LVM - Extending logical volume - Insufficient free space deim Linux - Newbie 0 04-07-2007 09:47 PM

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

All times are GMT -5. The time now is 06:54 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