SUMMARY: /etc/vfstab update

From: Mike's List <>
Date: Thu Feb 07 2002 - 13:45:09 EST
Thanks to:
Ismail, Marion
Tim Chipman
Reetz, Donovan
Mazhar Khan - special thanks for reminding me to edit the second disk...
David Morley

What I did was mount the second disk of the mirror and edit the
/etc/vfstab on the mirror disk and not the boot disk, when the system
boot the disks sync the data to be the same and /etc/vfstab got fixed.
I ran the metaroot command again to be safe, reboot, and server is fine.
/etc/system and /etc/vfstab are the two files you need to look should
you typo your metaroot command ;)

Thanks all.

- Mike

---------- Original message ----------

I accidentally did a "metaroot d101" instead of my d100 for / partition.
The system goes into a loop, of reboot, because of wrong / partition.
I booted via cdrom into single user mode to edit the /etc/vfstab and
/etc/system to change the d101 to d100, (after mounting s0 to /a),
/etc/system edit just fine, but when I attempted to change /a/etc/vfstab
and save/exit I get the below...and the system reboot and /etc/vfstab
still with d101 for / partition...attempts to change the / partion back
to the original slice didn't work either...

How do you recover from a wrong "metaroot" command??? or change
/etc/vfstab?  Can't seems to make any changes to /etc/vfstab...

- Mike

panic[cpu2]/thread=f5e14320: free: freeing free frag, dev:0x800018,
blk:1384, cg
:43, ino:162555, fs:/a

fbef2538 ufs:real_panic_v+6c (0, f5a8a8f8, fbef26a4, 0, 0, 0)
  %l0-7: 404010c2 f0097e94 f009676c 00000010 00000100 00000080 00000002
fbef2598 ufs:ufs_fault_v+54 (fbef27c0, f5a8a8f8, b, fbef27c0, fbef26a4,
  %l0-7: 404010c3 f0096770 f5a6570c 00000020 000a98a0 00000800 00000001
fbef25f8 ufs:ufs_fault+1c (fbef27c0, f5a8a8f8, 800018, 568, 2b, 27afb)
  %l0-7: f0275400 f5a6e498 f5a6ef04 00000040 00000000 00000000 00000000
fbef2658 ufs:free+434 (f6124034, f5a29444, f61240a8, 2b, f5bf01e0, 568)
  %l0-7: f61243c0 f5fb3000 00000400 fbef2738 f5a293c8 f6124000 00000568
fbef26c8 ufs:ufs_itrunc+7d8 (0, 0, 0, 0, f6120998, ffffffff)
  %l0-7: f5cbcb78 fbef2734 f5fb3000 00000000 00000400 00000008 ffffffff
fbef28d0 ufs:ufs_create+448 (f6120a7c, f5a21f68, 0, f6120a80, 1300,
  %l0-7: f5a293f0 f6120998 fbef2aac fbef2ab0 ef7b0018 f6147a5f 00000080
fbef2940 genunix:vn_create+42c (f5a8bc74, f0275648, fbef2ab0, 12, 0,
  %l0-7: f5a76a64 fbef2aac fbef2ab0 00000000 00000080 000a2010 00000000
fbef2a38 genunix:vn_open+c0 (0, 102, 202, 1b6, 100, 80)
  %l0-7: f5a75848 00000000 00000200 00000302 000a2010 00000000 00000000
fbef2b10 genunix:copen+84 (a2010, 302, 1b6, a2010, 21850, 215f8)
  %l0-7: 40401082 ef698a08 ef698a0c f0064800 00000050 f5e14320 f024fd18
sunmanagers mailing list
Received on Thu Feb 7 12:46:14 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST