Hot disk change.

Jens_Heinz at Jens_Heinz at
Tue Apr 20 10:20:43 CDT 2010

Perc5/6 are using DDF which is located at the end of a drive. 

So using it on a regular SATA controller shouldn't be the problem, though I haven't tried myself yet. 

But a dd will copy that DDF data as well and might give you trouble to change your partition layout. 




From: linux-poweredge-bounces at [mailto:linux-poweredge-bounces at] On Behalf Of Fabio Catunda
Sent: 20 April 2010 17:10
To: linux-poweredge-Lists
Subject: Re: Hot disk change.


Tino and Jens,

# fdisk -l (with comments about what is what)
/dev/sda1               1         243     1951866   82  Linux swap / Solaris (SWAP)
/dev/sda2   *         244         729     3903795   83  Linux (/boot)
/dev/sda3             730        3161    19535040   83  Linux (/)
/dev/sda4            3162       30318   218138602+  83  Linux (/var)

I'm not that worried with the partition table because I can just delete the partition, create it again with the new size and use resize2fs to resize the file system. Usually I do that with virtual machines and it works, shouldn't be different with a real hardware, right!?

I'm really worried to know it Linux would be able to read the old disk connected on a different SATA port.

Cupertino, I got worried with your solution because I don't know is I can expand the virtual disk  and things like that, I don't have much expertise with RAID controllers. And if something goes wrong (read: if I make something wrong), I will loose everything. I do have backup and everything, but I prefer a short downtime.

Thanks again.

Fábio Catunda.

Tino Schwarze wrote: 

Hi Fabio,
do you have some kind of LVM or other means of volume management in
place? What's your partition setup like? Please post output of
df -h.
On Tue, Apr 20, 2010 at 11:28:58AM -0300, Fabio Catunda wrote:

	Thanks for all responses.
	Now I see that I am in trouble.
	I really cannot install everything from zero, it will take too long and 
	might not work.
	I would like to know your opinion about the following procedure:
	1 - Shutdown
	2 - Remove both disks
	3 - Plug both 2TB new disks and create a new virtual disk on the controller
	4 - Plug one of the old 250GB disks in a separate SATA connector
	5 - dd if=/dev/sdb of=/dev/sda (where sdb is the old disk and sda is the 
	new virtual disk)
	6 - fstab, resize2fs, etc, etc...!
	I really don't know if the OS will recognize and be able to read the old 
	disk plugged in another SATA connector.
	Thanks in advance.
	Fábio Catunda.
	Linux-PowerEdge mailing list
	Linux-PowerEdge at
	Please read the FAQ at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Linux-PowerEdge mailing list