- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: How to get OS to see expanded partition size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 05:07 AM
тАО02-03-2011 05:07 AM
How to get OS to see expanded partition size
I have migrated/expanded a RAID-1 (2 x 72GB) array on a proliant DL360 G5 (SmartArray p400i) to a RAID-10 (4 x 72GB) via hpacucli. The size appears to show correctly in /sys:
cat /sys/block/cciss\!c0d0/size
286611840
After I expanded the device, I ran 'partprobe /dev/cciss/c0d0', however fdisk still shows the device size to be 72GB.
I can't find anything in /sys or /proc which would allow me to tell the kernel of the new size, though an HP doc says the cciss driver should do this automatically
"The cciss driver communicated directly with the block layer to inform it of size changes
in the underlying logical disk devices."
(source: http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02677069/c02677069.pdf )
Aside from a reboot, is there anyway I can get the kernel to see the new size of the underlying device?
Regards,
Campbell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 05:17 AM
тАО02-03-2011 05:17 AM
Re: How to get OS to see expanded partition size
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 05:51 AM
тАО02-03-2011 05:51 AM
Re: How to get OS to see expanded partition size
MS MCSA Server 2003
HP Accredited Integration Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 06:05 AM
тАО02-03-2011 06:05 AM
Re: How to get OS to see expanded partition size
Cheers,
Campbell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 06:09 AM
тАО02-03-2011 06:09 AM
Re: How to get OS to see expanded partition size
Regards,
Campbell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2011 08:36 PM
тАО02-04-2011 08:36 PM
Re: How to get OS to see expanded partition size
If in the other hand, fdisk in unable to create additional partitions because it still thinks c0d0 is only 72GB and no more space is available then, like you said, a reboot might be a good approach to the problem.
Let us know how it goes,
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 04:58 AM
тАО02-08-2011 04:58 AM
Re: How to get OS to see expanded partition size
It wasn't the partition size I was worried about - I knew that had to be expanded. It was the fact that fdisk reported the *device size* to be 73GB. When I have done this with other disk controllers, the device size itself is changed, though I can't recall whether running 'partprobe' was a requirement. The strangeness (at least to me) in this situation was that /sys/block/cciss!c0d0/size was showing the new device size, but this was not picked up by fdisk.
I would like to know more about what was going on here, but that will have to wait until another time. For now, a reboot solved this issue for me.
Cheers,
Campbell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 06:00 AM
тАО02-08-2011 06:00 AM
Re: How to get OS to see expanded partition size
I can't help you with linux.
But reading the post, I wonder if have extended the logical drive.
When you add more drives to an array (Expand), all you do is you add the drives to the array.
This do not change the size og the logical drive. It may redistribute the data to the newly added disk also.
So now you've got a lot of nice unused space within the array.
You choise is:
Extend the excisting logical drive(s).
or
Create new logical drive(s).
You OS will not see any change, untill you have extended or createt new logical drive(s).
BR
/jag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 06:35 AM
тАО02-08-2011 06:35 AM
Re: How to get OS to see expanded partition size
The logical drive was expanded (which is why the increased drive size was seen by the OS upon reboot). From hpacucli:
=> controller slot=0 logicaldrive 1 modify size=max
Warning: Extension may not be supported on certain operating systems.
Performing extension on these operating systems can cause data to
become inaccessible. See ACU documentation for details. Continue?
(y/n) y
=> controller slot=0 show config
Smart Array P400i in Slot 0 (Embedded) (sn: PH81MQ6085 )
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (136.7 GB, RAID 1+0, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 72 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 72 GB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 72 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 72 GB, OK)
=>
Normally, this kind of expansion is not an issue under linux. I've only seen this issue with cciss driver.
Cheers,
Campbell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2011 06:41 AM
тАО02-08-2011 06:41 AM
Re: How to get OS to see expanded partition size
Confusion, is that use the term expansion, for adding drives to an array.
And extension to make a logcal drive larger.
You have done so.
Can't help you with the os.
BR
/jag