* Switching external disks (ufs file system)
@ 2000-07-07 4:00 Miguel Demaerel
2000-07-07 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: Miguel Demaerel @ 2000-07-07 4:00 UTC (permalink / raw)
Hoi
I'm a newbie on Tru64.
I'wont to switch an external disk with an other external disk.
The file system is ufs.
What do I have to do?
Now the server is connected to a VSS, we wont to switch to an ESS.
Can someone help me.
Thanks
Greetings Miguel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Switching external disks (ufs file system)
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.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2000-07-07 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-07 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox