tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY::terrible lsm problem (lost volume info)
@ 2002-09-16 17:52 Piotr Grzybowski
  0 siblings, 0 replies; only message in thread
From: Piotr Grzybowski @ 2002-09-16 17:52 UTC (permalink / raw)



 The problem was: after connecting extra hdd, which was not used,
the bootdisk, was unusable, usrvol, varvol and swapvol were lost.
when the extra drive was removed, /usr /var and swap was not mounted.
the volumes were lost.
 I recived two extra fast answers ([1],[2]), i would like to thank Arrigo
and Alan. They wanted to help. But the answer was somwhere else.
 I have found the solution today.
 As i mentioned in my orginal post, the rootdg was not initialized,
i was able to init and import it, to add disks, enable the vold
and bring the disks online. the problem was: the volumes.
 Today i have sat down, and decided to give one more chance
to this system, before i reinstall it. Suddenly, reading
the `man volintro` (from another machine, on some www site
thanks to that wonderfull man who put the whole manual online),
i noticed that i havent used the volassist utility.
 I have checked out the sizes of my partitions, i was able to
quess which one is /usr /var and swap, and i ran:
volassist -g rootdg usrvol ${SIZEusr}b
volassist -g rootdg varvol ${SIZEvar}b
volassist -g rootdg swapvol ${SIZEswap}b
where ${SIZE*} are the sizes of partitions, read from
disklabel -r ${diskname}
(in this case diskname=dsk0c)
one has to remember about 'b' because the sizes of
partitions read by disklabel are returned in sectors,
in this case the sector was 512 bytes, so the correct
suffix to the volassits size was 'b'.
 After recreating the volumes `mount /usr` `mount /var` and
`swapon -as` were succesfull!
 It was a long trip.

pg


[1] Arrigo Triulzi <arrigo@albourne.com
[2] "Davis, Alan" <Davis@tessco.com>



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-16 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-16 17:52 SUMMARY::terrible lsm problem (lost volume info) Piotr Grzybowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox