- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How does linux support hot plug disks?
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
Forums
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
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
тАО04-19-2005 06:34 PM
тАО04-19-2005 06:34 PM
How does linux support hot plug disks?
fdisk -l doesn't show me additional disk space I've added into running system. How can manage this without reboot?
regards,
Andrej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 06:48 PM
тАО04-19-2005 06:48 PM
Re: How does linux support hot plug disks?
The RAID container is what needs to be reconfigured.
Are the new disks plugged into a RAID controller? If so, is it on HP hardware?
If it is, you need to access the ACU tools to configure the containers online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 09:30 PM
тАО04-19-2005 09:30 PM
Re: How does linux support hot plug disks?
it is a RAID container. RAID utilities are showing added disks. I'm in linux forum, so it's on linux.
Has anybody of you upgraded disk capacity in RAID container in running system yet?
There are 3 Oracle production databases, I need upgrade disk capacity. HW allows it online. What about linux capability?
regards,
Andrej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 10:07 PM
тАО04-19-2005 10:07 PM
Re: How does linux support hot plug disks?
If you've added the disks, expanded the existing container or added a second container using the online tools, then the space should be available.
If you expanded the existing container, then at worst you many need to get the RAID controller to rescan the devices.
If you added a new container, then you should have a hew disk device available.
What hardware are you using? Are you using HP equiptment with a Smart Array controller? or something else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 07:24 PM
тАО04-20-2005 07:24 PM
Re: How does linux support hot plug disks?
Can you unmount, fsck, and remount these volumes to see if that updates the free space?
In answer to your original question, Linux broadly treats all hot-plug devices as quasi-scsi drives, which is why they appear as /dev/sd??.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 10:30 PM
тАО04-20-2005 10:30 PM
Re: How does linux support hot plug disks?
There is a CD that comes with the servers that lets you do this. Alternatively, you can always download one specific to your server off the server support website.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 10:34 PM
тАО04-20-2005 10:34 PM
Re: How does linux support hot plug disks?
Andrej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 11:33 PM
тАО04-20-2005 11:33 PM
Re: How does linux support hot plug disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2005 12:40 AM
тАО04-21-2005 12:40 AM
Re: How does linux support hot plug disks?
You've not told us the steps you used to expand the container.
You've not told us what type of RAID controller is in use!
We need more details so we can stop fishing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2005 02:49 AM
тАО04-21-2005 02:49 AM
Re: How does linux support hot plug disks?
thanks for replies. Tomorrow I am going down with the system knowing there is no other way.
There were 8 disk in IBM EXP300 container. I've added 6 more. RaidMan is a linux X tool (somebody might know) to manage IBM HW RAID.
6 disks were configured succesfully and added to a logical array B by RaidMan in running system. Raidman sees full capacity of the container including 6 added disks.
fdisk -l shows capacity of first 8 disks only on /dev/sdb device. It does not matter what HW it is on. I tried w in fdisk utility to write partition expecting re-read and here is the result:
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Re-read table failed with error 16: Device or resource busy.
Reboot your system to ensure the partition table is updated.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
This is a linux (probably unix) issue in case there is added more capacity to hot plug RAID container to the existing device (/dev/sdb). The device should not in use, must be unmounted and then created a new partition /dev/sdb2. Do you have different experience?
"-t" option doesn't work for me:
beckov:~ # fdisk -t /dev/hda
fdisk: invalid option -- t
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO drives) use 2048-byte sectors
regards,
Andrej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2005 10:58 AM
тАО04-21-2005 10:58 AM
Re: How does linux support hot plug disks?
As the EXP 300 is a storay array, not a RAID controller, this still begs a question. But using 'RaidMan' should be of help, so I'll make an assumption it's an IBM ServeRaid controller.
I've no experience using any of the IBM RAID equiptment so this is just from google searches.
What needs to happen is for the ServeRaid controller to re-read (rescan) and inform the OS.
One suggested way to do that:
echo "scsi-add-single-device 0 0 1 0" > /proc/scsi/scsi
(From https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117381 , which is a bug/feature request describing exactally what you are doing).
A few days ago there was a small script which was written to rescan all SCSI controllers and LUN's. I just can't find it at the moment, but this should be enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2005 01:08 AM
тАО04-22-2005 01:08 AM
Re: How does linux support hot plug disks?
regards,
Andrej