46
Installation/Update / Re: Swmgr hängt
« am: 21. April 2014, 00:48:29 »
entpacke das tardist mit tar und verweise swmgr auf diesen ordner. damit schliesst du ein paar moegliche problempunkte von vorne herein aus.
Diese Sektion erlaubt es dir alle Beiträge dieses Mitglieds zu sehen. Beachte, dass du nur solche Beiträge sehen kannst, zu denen du auch Zugriffsrechte hast.
Hallo,zeitgemaess ist bedeutungslos. entweder der platz reicht oder nicht.
hab meiner O2 mal ne neue Platte gegönnt. 18 GB sind ja nicht grade mehr zeitgemäß...
#!/sbin/ksh.93
#
# auto xfs root disk duplicating
# IRIX 6.2 or higher
# 26.04.2000 by R-A-C
#
export orig=$1
export target=$2
if [[ $# != 2 ]]; then
print 'usage: scriptname (original disk id like 1) (target disk id)'
print ''
print 'example: clone 1 3'
print ''
exit 1
fi
print ''
print '... formatting disk ...'
print ''
mkfs /dev/rdsk/dks0d${target}s0
print ''
print '... mounting disk ...'
print ''
mkdir /tmp_dsk
mount /dev/dsk/dks0d${target}s0 /tmp_dsk
print ''
print '... duplicating data content ...'
print ''
cd /tmp_dsk
xfsdump -l 0 - / | xfsrestore - .
print ''
print '... making boot stuff ...'
print ''
cd /stand
dvhtool -v get sash sash /dev/rdsk/dks0d${orig}vh
dvhtool -v get ide ide /dev/rdsk/dks0d${orig}vh
dvhtool -v creat sash sash /dev/rdsk/dks0d${target}vh
dvhtool -v creat ide ide /dev/rdsk/dks0d${target}vh
print ''
print '... unmounting ...'
print ''
cd /
umount /tmp_dsk && \
sleep 1
rm -rf /tmp_dsk
print ''
print '... done ...'
print ''
fi
exit 0