Re: HotSwapping Disks
- From: "Damon L. Chesser" <damon@xxxxxxxxxx>
- Date: Fri, 30 May 2008 10:55:16 -0400
UDP 514 wrote:
I have a server with hot swap disks.I believe partprobe is what you are looking for. Run fdisk/parted makes your changes, write them to disk, exit. Then as root "partprobe" will make the kernel to re-read the partition table. You should then be able to mkfs to your harts content.
I'd like to be able to swap out a non-system disk , eg /dev/sdd and put in a new
disk, partition it in fdisk, then mount those partitions. This all works fine, I can partition it,
but the linux kernel hangs on to the old disk partitions in memory, so I can't mke2fs or mount the newly created partitions, without doing a reboot.
Is there a way to force the kernel re-read the partition tables on a non-system disk?
How do people maintain high uptime, if you need to reboot every time just to see an extra
disk in a hot swap system?
Paul
HTH
--
Damon L. Chesser
damon@xxxxxxxxxx
http://www.linkedin.com/in/dchesser
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- HotSwapping Disks
- From: UDP 514
- HotSwapping Disks
- Prev by Date: Re: HotSwapping Disks
- Next by Date: Re: How to complain about slow ISP? Checked in mtr
- Previous by thread: Re: HotSwapping Disks
- Next by thread: How to complain about slow ISP? Checked in mtr
- Index(es):
Relevant Pages
|