On 2014-06-22 15:39, Martin Husemann wrote:
On Sun, Jun 22, 2014 at 03:36:23PM +0530, Mayuresh Kathe wrote:i tried re-running 'newfs' as below; /sbin/newfs -V2 -O 2 -b 32768 -f 4096 /dev/rwd0a it gave the same error as before (below); newfs: /dev/rwd0a: open for read: Device busyInteresting - what does "disklabel wd0" report? And just as a sanity check, "ls -l /dev/rwd0a"?
"disklabel wd0" reports the following; # /dev/rwd0d: type: unknown disk: WDC WD5000AZRX- label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 969021 total sectors: 976773168 rpm: 3600 interleave: 1 track skew: 0 cylinder skew: 0 lread switch: 0 # microseconds track-to-track seek: 0 # microseconds drive data: 0 16 partitions: # size offset fstype [fsize bsize cpg/sgs]a: 968999472 63 4.2BSD 4096 32768 0 # (Cyl. 0*- 961309*) b: 7773633 968999535 swap # (Cyl. 961309*- 969020) c: 976773105 63 unused 0 0 # (Cyl. 0*- 969020) d: 976773168 0 unused 0 0 # (Cyl. 0*- 969020)
"ls -l /dev/rwd0a" reports the following; crw-r----- 1 root operator 3, 0 Jun 22 10:14 /dev/rwd0a thanks, ~mayuresh