Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

newfs problems with large drive?



Hi,

newfs from release, 10-July-2003, seems to have problems with a large
drive. I have a 233 gig drive connected to the SCSI bus of my Amiga:

cbiiisc0: target 1 now wide 1
cbiiisc0: target 1 now synchronous, period=50ns, offset=14
siopng sync: siop_sxfr 2e, siop_scntl3 95
sd1 at scsibus0 target 1 lun 0: <ATA, Maxtor   6Y250P0, YAR4> SCSI3 0/direct 
fixed
sd1: mode sense (4) returned nonsense; using fictitious geometry
sd1: 233 GB, 239372 cyl, 64 head, 32 sec, 512 bytes/sect x 490234752 sectors

It's a Maxtor 250 gig (stupid numbering) IDE drive on an ACARD SCSI to
IDE adapter. The adapter supports 48 bit addressing, so that shouldn't be
an issue.

But when I try to newfs a filesystem which is the whole size of the drive
minus 130 megs or so, I get this:

reva# newfs /dev/sd1d
With 139264 sectors per cylinder, minimum cylinders per group is 1
This requires the block size to be changed from 8192 to 16384
        and the fragment size to be changed from 1024 to 2048

Then this:

reva# newfs -b 16384 -f 2048 /dev/sd1d
inode blocks/cyl group (32) >= data blocks (-317440)
number of cylinders per cylinder group (61608) must be increased.

Any ideas?

Relatedly, does anyone have any ideas about how it would be possible to
mount partitions from a macppc NetBSD machine on the Amiga, and vice
versa? Moving 150 gigs via 10-base-T is something I really would rather
not do...

Thanks,
John Klos

My disklabel, BTW:

# /dev/sd1c:
type: SCSI
disk: Maxtor   6Y250P
label: swap233
flags:
bytes/sector: 512
sectors/track: 139264
tracks/cylinder: 1
sectors/cylinder: 139264
cylinders: 3520
total sectors: 490209280
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 b:    278528    278528       swap                      # (Cyl.    2 - 3)
 c: 490209280         0     unused      0     0         # (Cyl.    0 - 3519)
 d: 489652224    557056     4.2BSD   1024  8192     0   # (Cyl.    4 - 3519)



Home | Main Index | Thread Index | Old Index