[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference aosg::lsm

Title:LSM
Moderator:SMURF::SHIDERLY
Created:Mon Jan 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:803
Total number of notes:2852

781.0. "Why does volencap append /etc/vol/reconfig.d instead of overwrite, DU v3.2G" by RULLE::BRINGH () Tue Apr 08 1997 13:43

Hi


Why does volencap append to existing files instead of overwrite?
Something went wrong when a customer did volencap on their system
disk. They fixed what ever the problem was, I believe it was that
volencap didn't like some LSM-partition that was present in the
disklabel. Then they ran volencap again. This time they ran into
problems at the reboot. They where able to pin down the problem
to be that volencap appended the new commads to the existing files
in /etc/vol/reconfig.d.

I don't know if this is a problem specific to DU v3.2G but I could
reproduce it when I was playing around with LSM on my systemdisk,
doing volencap rz2g

# cat /etc/vol/reconfig.d/disk.d/rz2g/newpart
#volassist -g rootdg  make vol-rz2g 1462256 use_type=fsgen rz2g,0
#ed /etc/vol/reconfig.d/disk.d/fstab < /etc/vol/reconfig.d/disk.d/rz2g/ed_cmnd >
/dev/null
#volassist -g rootdg  make vol-rz2g 1462256 use_type=fsgen rz2g,0
#ed /etc/vol/reconfig.d/disk.d/fstab < /etc/vol/reconfig.d/disk.d/rz2g/ed_cmnd >
/dev/null

I believe that volencap -k will do a cleanup, but why an append instead of
an overwrite? Because of the possibillity that you do several volencap on
the same disk?

Regards,

Mikael Bringh
Unix-support, TSC, Sweden

T.RTitleUserPersonal
Name
DateLines
781.1What does volencap -k do?RULLE::BRINGHWed Apr 09 1997 15:4513

What does volencap -k rz2g do, DU v3.2G? It does not clean up
/etc/vol/reconfig.d/disk.d/rz2g as I was expecting.
By the way, what releasenotes for v3.2C, 4.4.3.6, say about manually
cleaning up /etc/vol/reconfig.d still applies for v3.2G? And for v4.0x?


Regards,

Mikael Bringh
Unix-support, TSC, Sweden

781.23.2G volencap problems fixed in 4.0NNTPD::&quot;lsm@kit&quot;lsm@kitWed Apr 16 1997 16:494
On 3.2G there were problems with volencap appending data to the encapsulation
scipts in /etc/vol/reconfig.d/disk.d as well as the '-k' option not performing
as expected.  These have been fixed in 4.0. 
[Posted by WWW Notes gateway]