metadb/newfs on disc: If vold running = Device busy/ If vold not running = No such device or address.

From: LOEWENTHAL Simon (sloewenthal@gemini.edu)
Date: Mon Aug 30 2004 - 18:25:47 EDT


Dear all,

I'm trying to metadb a slice to a new statedatabase. As per the table below
the slice is 9.94Mb. Machine is Solaris 9.

Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
  0 root wm 105 - 457 3.43GB (353/0/0) 7184256
  1 swap wu 0 - 103 1.01GB (104/0/0) 2116608
  2 backup wm 0 - 14086 136.71GB (14087/0/0) 286698624
  3 var wm 459 - 473 149.06MB (15/0/0) 305280
  4 unassigned wm 0 0 (0/0/0) 0
  5 unassigned wm 0 0 (0/0/0) 0
  6 unassigned wm 0 0 (0/0/0) 0
  7 unassigned wm 14086 - 14086 9.94MB (1/0/0) 20352

I next used metadb to create the first state dB:

[root@test1]root$ metadb -a -f /dev/rdsk/c0t0d0s7
metadb: test1: /dev/dsk/c0t0d0s7: No such device or address

OK, Odd. So I tried to do a newfs on the partition:
[root@test1]root$ newfs /dev/rdsk/c0t0d0s7
/dev/rdsk/c0t0d0s7: Device busy

An fuser shows me that vold pid is using that partition (Que?) so I kill
vold.

[root@test1]root$ /etc/init.d/volmgt stop
[root@test1]root$ !newfs
newfs /dev/rdsk/c0t0d0s7
/dev/rdsk/c0t0d0s7: No such device or address
[root@test1]root$ !metadb
metadb -a -f /dev/rdsk/c0t0d0s7
metadb: test1: /dev/dsk/c0t0d0s7: No such device or address

I reboot just to check its the same, and it is. Any clues?

Thanks to everyone who replied to the SMC / mirroring / extents question.
Rdgs/Atentamente,
Simon.

---
Simon Loewenthal
Gemini Observatory
Information Systems Group
Video 139.229.33.88
Voice +56 51 205610
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:22 EDT