Date: Thu, 31 Oct 2002 17:17:04 +0300 From: "Alex Deiter" <tiamat@komi.mts.ru> To: "Jake Burkholder" <jake@locore.ca> Cc: <sparc64@FreeBSD.ORG> Subject: Re: Creating a Disk Label: fsck don't work Message-ID: <081601c280e8$3104c780$6301320a@dav> References: <067f01c27fee$9b2fcba0$6301320a@dav> <20021030111111.D22677@locore.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
# uname -a
FreeBSD serafima 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Oct 30 10:15:02 MSK
2002 sparc64
# disklabel -w -r -B da0 auto
# disklabel -e -r da0
...edit
# disklabel -r da0
# /dev/da0c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4427
sectors/unit: 71132959
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 71132959        0    4.2BSD     1024  8192    16   # (Cyl.    0 -
4427*)
  c: 71132959        0    unused        0     0         # (Cyl.    0 -
4427*)
serafima# newfs /dev/da0a
newfs: /dev/da0a: No such file or directory
serafima# ls -l /dev/da0*
crw-r-----  1 root  operator    4,   0 Oct 31 18:01 /dev/da0
crw-r-----  1 root  operator    4,   6 Oct 31 18:01 /dev/da0c
# reboot
....after reboot...
# ls -l /dev/da0*
crw-r-----  1 root  operator    4,   0 Oct 31 18:04 /dev/da0
crw-r-----  1 root  operator    4,   1 Oct 31 18:04 /dev/da0a
crw-r-----  1 root  operator    4,   2 Oct 31 18:04 /dev/da0c
# newfs /dev/da0a
/dev/da0a: 34732.9MB (71132956 sectors) block size 16384, fragment size 2048
        using 190 cylinder groups of 183.62MB, 11752 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544,
....
70324000, 70700064, 71076128
# echo $?
0
# fsck /dev/da0a
fsck: cannot get disklabel for `/dev/da0a': Inappropriate ioctl for device
What to do?
Thanks!
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?081601c280e8$3104c780$6301320a>
