Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 07:01:58 -0600
From:      Bob Willcox <bob@luke.pmr.com>
To:        hackers list <freebsd-hackers@FreeBSD.ORG>
Subject:   Need help disklabeling zip drives
Message-ID:  <19990211070158.A5111@luke.pmr.com>

next in thread | raw e-mail | index | archive | help
Hi all,

Could some kind soul(s) out there please tell me how they go about
disklabeling their zip drives?  I changed the partition type on my zip
cartridge from DOS (6) to FreeBSD (165) but can't figure out how to get
disklabel to put a label on it.  This is on a scsi zip drive running
3.0-stable (of 2/9).

Here's what fdisk tells me about the disk:

******* Working on device /dev/rda3 *******
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 196576 (95 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 95/ sector 32/ head 63

And here is the output of various failed attempts at disklabeling:

root@luke-p7 /dev> disklabel -r da3s4
disklabel: bad pack magic number (label is damaged, or pack is unlabeled)
root@luke-p7 /dev> disklabel -r da3  
disklabel: bad pack magic number (label is damaged, or pack is unlabeled)
root@luke-p7 /dev> disklabel -wr da3s4 zip100
disklabel: No space left on device
root@luke-p7 /dev> disklabel -w da3s4 zip100 
disklabel: No space left on device

Any help would be greatly appreciated!  Thanks,
Bob

-- 
Bob Willcox             The man who follows the crowd will usually get no
bob@luke.pmr.com        further than the crowd.  The man who walks alone is
Austin, TX              likely to find himself in places no one has ever
                        been.            -- Alan Ashley-Pitt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990211070158.A5111>