Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Switching external disks (ufs file system)
Date: 2000/07/07	[thread overview]
Message-ID: <8k530p$fuq$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 3965D93E.4D67759E@SGMS.SEMA.BE


In article <3965D93E.4D67759E@SGMS.SEMA.BE>, Miguel Demaerel <Miguel.Demaerel@SGMS.SEMA.BE> writes:

>I'm a newbie on Tru64.

While merely somewhat relevent in this case, it is generally
important to know the version of operating system you're
running.  V5 is significantly different in many ways from
V4 and before.

>I'wont to switch an external disk with an other external disk.
>The file system is ufs.

If you don't have a strong attachment to the old device name,
this is easy:

1.  Label the disk and create a file system on it.

	# disklabel -wr /dev/... whatever
	# newfs /dev/...

    Device names are a case where the version is important, since
    the naming convention between V5 and earlier differs so much.
    In the case of "whatever" on the disklabel command, you can
    use that directly and the command will do what's appropriate.

2.  Mount the file system on a temporary mount point:

	# mount /dev/... /mnt

3.  Backup the data and restore it to the new file system:

	# dump 0f - /file-system | ( cd /mnt ; restore rf - )

    If there is a risk that the contents of the file system
    will change during the backup, you should unmount it first,
    since you can.  Dump only uses the file system name to
    look up the device from /etc/fstab.  This means that fstab
    needs to be accurate.

4.  Unmount the file system and update /etc/fstab to reflect
    the new device name:

	# umount /mnt
	# editor of choice
	# mount /file-system

Done.  A clean backup would be wise, since restore will have at
least changed all the inode change times.
  
>Now the server is connected to a VSS, we wont to switch to an ESS.

I haven't a clue what a VSS is.  I'm guessing that an ESS is an
external storage system.  The operating system really doesn't
know internal from half-way across your country of origin, if
commands complete within the timeout period imposed by the
driver.  Devices are named either by their bus address (V4) or
the order in which they're initially discovered (V5).

>Can someone help me.
>
>Thanks
>Greetings Miguel
>
>
>

--
Alan Rollow				alan@nabeth.cxo.dec.com




      reply	other threads:[~2000-07-07  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-07  4:00 Switching external disks (ufs file system) Miguel Demaerel
2000-07-07  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive

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