notice the 520 byte sectors? This occurs whenever I try to do any operations (sysinstall, dd, disklabel) with da0:
da0: invalid sector size 520
The machine is 5.0-CURRENT as of Wednesday, but I dont think that will matter much. Is there something I'm missing? Please CC any replies to me, I'm not on this particular list.
/ Thomas Stromberg
To Unsubscribe: send mail to majord...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
> notice the 520 byte sectors? This occurs whenever I try to do any > operations (sysinstall, dd, disklabel) with da0:
> da0: invalid sector size 520
Guessing:
Could be a disk from a machine that uses hardware RAID or extra checksumming in the 8 bytes beyond 512 bytes/sector. You can try to reformat the drive while first selecting 512 bytes/sector.
On Sunday, April 15, 2001, at 02:01 PM, Wilko Bulte wrote: > On Sun, Apr 15, 2001 at 12:45:32PM -0400, Thomas Stromberg wrote: >> I'm trying to add the following Seagate Barracuda to my FreeBSD box:
>> notice the 520 byte sectors? This occurs whenever I try to do any >> operations (sysinstall, dd, disklabel) with da0:
>> da0: invalid sector size 520
> Guessing:
> Could be a disk from a machine that uses hardware RAID or extra > checksumming > in the 8 bytes beyond 512 bytes/sector. You can try to reformat the > drive > while first selecting 512 bytes/sector.
> W/
Not sure where this disk came from, got it from Ebay. The problem I have is I'm getting this error while trying to reformat it.. from sysinstall, disklabel, newfs, and dd.. Any advice on how to re-format this disk that I'm missing? I'm not very experieced with SCSI stuff.
BTW, I'm not on the SCSI mailing list, so any replies should be CC'd to me
/ Thomas
To Unsubscribe: send mail to majord...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
This is a drive that was in a raid unit. Reformat to to 512 byte sectors. There's some camcontrol magic for doing this, but, frankly, I just use Solaris.
> >> notice the 520 byte sectors? This occurs whenever I try to do any > >> operations (sysinstall, dd, disklabel) with da0:
> >> da0: invalid sector size 520
> > Guessing:
> > Could be a disk from a machine that uses hardware RAID or extra > > checksumming > > in the 8 bytes beyond 512 bytes/sector. You can try to reformat the > > drive > > while first selecting 512 bytes/sector.
> > W/
> Not sure where this disk came from, got it from Ebay. The problem I have > is I'm getting this error while trying to reformat it.. from sysinstall, > disklabel, newfs, and dd.. Any advice on how to re-format this disk that > I'm missing? I'm not very experieced with SCSI stuff.
> BTW, I'm not on the SCSI mailing list, so any replies should be CC'd to > me
> / Thomas
> To Unsubscribe: send mail to majord...@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message
To Unsubscribe: send mail to majord...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
On Sun, 15 Apr 2001, Thomas Stromberg wrote: > Not sure where this disk came from, got it from Ebay. The problem I have > is I'm getting this error while trying to reformat it.. from sysinstall, > disklabel, newfs, and dd.. Any advice on how to re-format this disk that > I'm missing? I'm not very experieced with SCSI stuff.
disklabel, newsfs and dd don't format the disk though. You will need to do a low-level SCSI re-format in order to change the sector size to 512 bytes.
If you read the manpage for "camcontrol", the section on the format option specifically mentions changing the sector size. If looks like you should change the sector size in the modepage, then issue the format command.
Tom
To Unsubscribe: send mail to majord...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
> >> notice the 520 byte sectors? This occurs whenever I try to do any > >> operations (sysinstall, dd, disklabel) with da0:
> >> da0: invalid sector size 520
> > Guessing:
> > Could be a disk from a machine that uses hardware RAID or extra > > checksumming > > in the 8 bytes beyond 512 bytes/sector. You can try to reformat the > > drive > > while first selecting 512 bytes/sector.
> > W/
> Not sure where this disk came from, got it from Ebay. The problem I have > is I'm getting this error while trying to reformat it.. from sysinstall, > disklabel, newfs, and dd.. Any advice on how to re-format this disk that > I'm missing? I'm not very experieced with SCSI stuff.
See the man page for 'camcontrol'. You need to give it a low-level SCSI format. Things like 'dd' etc don't do that for you..
> notice the 520 byte sectors? This occurs whenever I try to do any > operations (sysinstall, dd, disklabel) with da0:
> da0: invalid sector size 520
> The machine is 5.0-CURRENT as of Wednesday, but I dont think that will > matter much. Is there something I'm missing? Please CC any replies to > me, I'm not on this particular list.
Try this:
======================================================================== Yup, there's some other way to change it. Set the current values, then immediately issue a format command: