clearforeignconfig not clearing foreign config

Patrick_Boyd at Dell.com Patrick_Boyd at Dell.com
Tue Feb 9 10:30:28 CST 2010


I probably should also warn you that the operations I have described are data destructive (i.e. could result in loss of data/loss of OS functionality). So use at your own risk.

-----Original Message-----
From: linux-poweredge-bounces-Lists On Behalf Of Boyd, Patrick
Sent: Tuesday, February 09, 2010 10:28 AM
To: pmdyer at ctgcentral2.com; linux-poweredge-Lists
Subject: RE: clearforeignconfig not clearing foreign config

Clearforeign only removes drives in foreign state. These drives are online. To get rid of this configuration you either need to delete the virtual disk or to delete all the virtual disks you can use the reset config command.

-----Original Message-----
From: linux-poweredge-bounces-Lists On Behalf Of Paul M. Dyer
Sent: Tuesday, February 09, 2010 10:22 AM
To: linux-poweredge-Lists
Subject: Re: clearforeignconfig not clearing foreign config

Hi,

I use dd and write zeros on top of the signature.   That data is stored at the end of the drive, so it takes a hours get it done.

dd if=/dev/zero of=/dev/sd{whatever} bs=64k

Paul


----- Original Message -----
From: "Mark Watts" <m.watts at eris.qinetiq.com>
To: linux-poweredge at dell.com
Sent: Tuesday, February 9, 2010 10:03:52 AM (GMT-0600) America/Chicago
Subject: clearforeignconfig not clearing foreign config


How are you supposed to clear the configuration on a disk previously
used on a PERC 5/i?


# omconfig storage controller action=clearforeignconfig controller=0
Command successful!

# omconfig storage pdisk action=clear controller=0 pdisk=0:0:1
Operation disabled. Read, action=clear

# omreport storage pdisk controller=0
List of Physical Disks on Controller PERC 5/i Integrated (Embedded)

Controller PERC 5/i Integrated (Embedded)
ID                        : 0:0:0
Status                    : Ok
Name                      : Physical Disk 0:0:0
State                     : Online
Failure Predicted         : No
Progress                  : Not Applicable
Bus Protocol              : SAS
Media                     : HDD
Capacity                  : 67.75 GB (72746008576 bytes)
Used RAID Disk Space      : 67.75 GB (72746008576 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare                 : No
Vendor ID                 : DELL    
Product ID                : ST373455SS      
Revision                  : S513
Serial No.                : 3LQ0YQ5T            
Negotiated Speed          : Not Available
Capable Speed             : Not Available
Manufacture Day           : 07
Manufacture Week          : 18
Manufacture Year          : 2005
SAS Address               : 5000C50004901BC5

ID                        : 0:0:1
Status                    : Non-Critical
Name                      : Physical Disk 0:0:1
State                     : Foreign
Failure Predicted         : No
Progress                  : Not Applicable
Bus Protocol              : SAS
Media                     : HDD
Capacity                  : 67.75 GB (72746008576 bytes)
Used RAID Disk Space      : 0.00 GB (0 bytes)
Available RAID Disk Space : 67.75 GB (72746008576 bytes)
Hot Spare                 : No
Vendor ID                 : DELL    
Product ID                : ST373455SS      
Revision                  : S513
Serial No.                : 3LQ0XWSY            
Negotiated Speed          : Not Available
Capable Speed             : Not Available
Manufacture Day           : 07
Manufacture Week          : 18
Manufacture Year          : 2005
SAS Address               : 5000C50004901BA1


Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq



More information about the Linux-PowerEdge mailing list