Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Sun, Sep 19, 2010 at 6:13 PM, freebsd-questions 
freebsd-questions@freebsd.org wrote:

 Dear Sir/Madam,

 Your email was unable reach the intended person that you were sending it
 to.
 For more information on our business please click on the following link:
 Click here for our website http://www.xpbargains.net
 We look forward to your continued business in the future.

 Regards,
 Webmaster

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Thu, Sep 16, 2010 at 6:17 PM, Michael Powell nightre...@hotmail.comwrote:

 Andy Wodfer wrote:

  I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight).
  However, I'm having big problems adding a new harddrive to the system. I
  want a separate 1TB SATA installed to recover backup files on, but when I
  add it I only get error messages:
 
  dmesg:
 
  ad2: 953869MB WDC WD1000FYPS-01ZKB0 02.01B01 at ata1-master SATA300
  GEOM: ad2: corrupt or invalid GPT detected.
  GEOM: ad2: GPT rejected -- may not be recoverable.
  GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected.
  GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable.
 
  I've tried label and fdisk, but I can't get it to work.
 
 [snip]

 I do not believe you can utilize fdisk and label for this. Since it appears
 there may be a possibility of a garbage MBR present this will wipe it:

 Boot a LiveFS CD, then at a root prompt do:

 sysctl kern.geom.debugflags=16  and:

 dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1

 where x equals your drive number. This will zero out any old MBR.

 You will need to set this up with gpart instead of fdisk. More details in
 man gpart and possibly glabel. The devil is in the details, but this may be
 enough to get you pointed down the road.


I couldn't get it to work. My solution was to remove the 1TB drive and
install 2x500GB drives in a small RAID instead. Made life so much easier.
:-)

Cheers,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem adding 1TB SATA disk to system

2010-09-16 Thread Andy Wodfer
Hi all,

I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight).
However, I'm having big problems adding a new harddrive to the system. I
want a separate 1TB SATA installed to recover backup files on, but when I
add it I only get error messages:

dmesg:

ad2: 953869MB WDC WD1000FYPS-01ZKB0 02.01B01 at ata1-master SATA300
GEOM: ad2: corrupt or invalid GPT detected.
GEOM: ad2: GPT rejected -- may not be recoverable.
GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected.
GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable.

I've tried label and fdisk, but I can't get it to work.

Fdisk:

WARNING:  It is safe to use a geometry of 1938021/16/63 for ad2 on │
│ computers with modern BIOS versions.  If this disk is
to be used   │
│ on an old machine it is recommended that it does not
have more │
│ than 65535 cylinders, more than 255 heads, or more
than│
│ 63 sectors per
track.  │

││
│ Would you like to keep using the current geometry?

Yes ... but it doesn't work. The computer hardware was bought new about 7
months ago and the mainboard is an intel server board.


Can someone help me get this disk up and running (if possible?)?

Thanks!

Best regards,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem adding 1TB SATA disk to system

2010-09-16 Thread Michael Powell
Andy Wodfer wrote:

 Hi all,
 
 I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight).
 However, I'm having big problems adding a new harddrive to the system. I
 want a separate 1TB SATA installed to recover backup files on, but when I
 add it I only get error messages:
 
 dmesg:
 
 ad2: 953869MB WDC WD1000FYPS-01ZKB0 02.01B01 at ata1-master SATA300
 GEOM: ad2: corrupt or invalid GPT detected.
 GEOM: ad2: GPT rejected -- may not be recoverable.
 GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected.
 GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable.
 
 I've tried label and fdisk, but I can't get it to work.
 
[snip]

I do not believe you can utilize fdisk and label for this. Since it appears 
there may be a possibility of a garbage MBR present this will wipe it:

Boot a LiveFS CD, then at a root prompt do: 

sysctl kern.geom.debugflags=16  and:

dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 

where x equals your drive number. This will zero out any old MBR.

You will need to set this up with gpart instead of fdisk. More details in 
man gpart and possibly glabel. The devil is in the details, but this may be 
enough to get you pointed down the road. 

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org