NetBSD-Bugs archive

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

bin/45191: newfs_v7fs(8) doesn't work on a disk partition



>Number:         45191
>Category:       bin
>Synopsis:       newfs_v7fs(8) doesn't work on a disk partition
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 11:30:00 +0000 2011
>Originator:     tron%zhadum.org.uk@localhost
>Release:        NetBSD 5.99.55 2011-07-30 sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD lyssa.zhadum.org.uk 5.99.55 NetBSD 5.99.55 (LYSSA) #0: Sat Jul 
30 10:49:54 BST 2011 tron%lyssa.zhadum.org.uk@localhost:/src/sys/compile/LYSSA 
i386
Architecture: i386
Machine: i386
>Description:
I'm trying to create a V7FS file-system on a (virtual) hard disk:

tron@lyssa:~#disklabel wd1
# /dev/rwd1d:
type: ESDI
disk: VMware Virtual I
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 8322
total sectors: 8388608
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:   8388545        63     unused      0     0        # (Cyl.      0*-   8322*)
 d:   8388608         0     unused      0     0        # (Cyl.      0 -   8322*)
 e:   8388545        63  Version 7                     # (Cyl.      0*-   8322*)

But the "newfs_v7fs" command fails with a bunch of error messages:

tron@lyssa:~#newfs_v7fs /dev/rwd1e
newfs_v7fs: mmap failed. use direct I/O.: Invalid argument
newfs_v7fs: sector=1
: Read-only file system
newfs_v7fs: Can't write back superblock.: Input/output error
newfs_v7fs: Input/output error

>How-To-Repeat:
1.) Create a 4GB System 7 partition.
2.) Try to use "newfs_v7fs" on it.

>Fix:
None provided.



Home | Main Index | Thread Index | Old Index