LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-07-2011, 09:29 PM   #1
p4cm4n88
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
xfs_growfs on softraid card ?


I have an ubuntu installation, 10.10 currently, with a rocketraid 1742 card, 4xSATA300 expanded to a few esata boxes. I used OCE to grow the softraid from 6 drives to 7. Linux sees the disk, showing approximately 1TB of unused space.

When I setup the raid, I setup an XFS partition using all possible space.

Without destroying the data, how can I grow the partition to use all possible space on the disk now?

I've read where you need xfs_utils and the xfs_growfs command. I've run that, with -d tag to 'grow' and used various commands to try to specify block size manually. No matter what I put in, it gave a response :


meta-data=/dev/sdb1 isize=256 agcount=7, agsize=183127946 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=1220853646, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=4096 blocks=32768, version=2
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
data size unchanged, skipping

any and all help is appreciated!
 
Old 01-20-2011, 01:36 PM   #2
gb2312
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 6
Are you using the same partition table? (/dev/sdb1 the same as before?) In this case you might try gparted.
 
Old 01-21-2011, 08:31 AM   #3
p4cm4n88
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your reply.

i believe one of my initial tries were to use gparted. under /dev/sdb1 in gparted, it shows an 'unallocated' 1tb space. this is how i assume it should show. the only options for the drive, however, is information and manage flags and unmount. checking gparted's list of 'supported filesystems' xfs support is checked under GROW on xfs.

even an unmount does nothing to allow resize to be available.
 
Old 01-21-2011, 10:07 AM   #4
gb2312
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 6
I found this post but the steps are quite scary (recreating partition table!):

[SOLVED] Growing an XFS partition with parted

not sure if you really want to try it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to recover softraid information? rippfx Linux - Server 1 01-29-2010 09:11 PM
looking for softraid 0 how to zogthegreat Linux - Hardware 1 08-09-2009 11:44 AM
how can I physically locate harddisk in a Softraid browny_amiga Linux - Hardware 1 09-23-2007 07:01 AM
softraid-1: Disk name changes when plug in PhillipHuang Linux - General 2 02-13-2007 09:30 PM
Linux SoftRAID using ATA and SATA dop Linux - Hardware 2 06-11-2005 03:07 AM

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

All times are GMT -5. The time now is 11:48 PM.

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