03-01-2013
Well I could write loads about this but I'm not going to. With your experience (you used to reading man pages) I only need to give you the clues. (That's what I've been doing up 'til now and it's all you needed).
Backup is a matter of choice but, given the options you list, I would go for the NFS remote mount. I assume, given the age of the machine, that your filesystems are ufs.
I would use ufsdump with switches 0f (meaning 0 for full backup and f to determine filename/pathname). This will create a file for the filesystem dump on the remote system. You can then run this file to tape (or copy it to a further system with a tape drive) and take it offsite.
To recover, in brief,
1. Fit new drive in system.
2. Boot from cdrom
3. Use 'format' to set up filesystem slices and swap
4. Use 'newfs' to write filesystems on the new disk slices.
5. Mount the new (empty) filesystem (under /a)
6. Use 'ifconfig' to manually plumb, set ip address, and mark as 'up' the network interface.
7. Mount the remote nfs system containing the ufsdump (under /mnt).
8. ufsrestore the filesystem(s)
If there is more than one filesystem on your system you can back them all up this way. You can still restore individual files if needed.
Tip: Get the vtocs (virtual table of contents; partitioning sizes in DOS terms) by running 'prtvtoc' on your system and recording the output. This is invaluable in a recovery situation.
Any other questions just ask.
Hope that helps.
PS: To be absolutely purist, you should use 'fssnap' to create a snapshot of your filesystem (this will output a device name for the snapshot), then mount that device read-only, and then ufsdump that read-only filesystem. If the system is not quiesent, then you're still covered. What you will be backing up would be a stationary snapshot and not a moving filesystem. See man pages and Google that.
Last edited by hicksd8; 03-01-2013 at 02:32 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everybody!!
I need your help again.
I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp.
"windu_sm_o aaaa,baaa,caaa,daaa" etc.
I am not able to locate which application is generating these files.
Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
2. UNIX for Advanced & Expert Users
Dear All,
I have trouble, I have SPARC Machine and when start for loading, can not finish !
this is copy off message from my system
Netra t 1120/1125 (UltraSPARC-II 440MHz), No Keyboard
OpenBoot 3.31, 512 MB memory installed, Serial #12116535.
Ethernet address 8:0:20:b8:e2:37, Host ID:... (4 Replies)
Discussion started by: heru_90
4 Replies
3. Solaris
I have an ultra sparc 2 with no video - I connect to it with hyperterm.
Is there a way to get to the OK prompt? I have tried control/break and that does not work.
If not is there a video card I can get to put in this box?
I have Solaris 10 installed on this machine.
Thanks (7 Replies)
Discussion started by: tribbles
7 Replies
4. Solaris
In Sparc Ultra 45 machine, how to enable bge1 port, how to do if bge0 is down then bge1 should automatically up.
Thanks & Regards (2 Replies)
Discussion started by: durgaprasadr13
2 Replies
5. Solaris
Hi Gurus,
Can I use null modem cable in Ultra sparc 10 workstation
Thanks (3 Replies)
Discussion started by: kumarmani
3 Replies
6. Debian
Comments/Problems:
Machine boots from CDROM, starts SILO Version 1.4.13,
display welcome message (welcome to Debian GNU/Linux lenny!
built on 20081218-10:06 ).
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.26
Loading initial ramdisk... (3 Replies)
Discussion started by: mtk
3 Replies
7. Solaris
Dear Guru,
My boss has a plan to upgrade cpu of server so he needs to know how much better performance(percentage) is Ultra SPARC IV+ 1.95 GHz than Ultra SPARC IV 1.35 GHz?.
I am looking for documentation to reference but I didn't see anything close to my point. If who know,... (3 Replies)
Discussion started by: unitipon
3 Replies
8. Solaris
Hi all.
I am seeing in one of our less-used servers that it crashed and now won't restart. I get the message 'continue with normal startup or boot into maintenance mode'.
I go into maintenance and run fsck on /usr0 (mentioned in error at restart) it then reboots but goes right back to... (3 Replies)
Discussion started by: jamie_collins
3 Replies
9. Ubuntu
I have a Sun Blade 1000 machine that I installed Ubuntu 7.10 SPARC onto. The only user configured (configure during install) cannot use sudo. When I try to issue a command using sudo (ex. sudo apt-get install) it asks me for my password and returns the error "user not found in sudoers file". I need... (4 Replies)
Discussion started by: swilso
4 Replies
10. Hardware
Hi all,
I managed to salvage form work an old Sun Sparc Ultra 30. I have had it stored (controlled storage) for a few years and decided to get it home and boot it up.
It starts up with a beep then I can hear disks spinning up, CDROM moving but nothing is displayed on the monitor.
Can... (2 Replies)
Discussion started by: robbo007
2 Replies
LEARN ABOUT DEBIAN
xfs_freeze
xfs_freeze(8) System Manager's Manual xfs_freeze(8)
NAME
xfs_freeze - suspend access to an XFS filesystem
SYNOPSIS
xfs_freeze -f | -u mount-point
DESCRIPTION
xfs_freeze suspends and resumes access to an XFS filesystem (see xfs(5)).
xfs_freeze halts new access to the filesystem and creates a stable image on disk. xfs_freeze is intended to be used with volume managers
and hardware RAID devices that support the creation of snapshots.
The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen
(see mount(8)).
The -f flag requests the specified XFS filesystem to be frozen from new modifications. When this is selected, all ongoing transactions in
the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are halted, and all
dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen filesystem will block waiting
for the filesystem to be unfrozen.
Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking. These
files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.
The -u flag is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by the
freeze are unblocked and allowed to complete.
One of -f or -u must be supplied to xfs_freeze.
NOTES
A copy of a frozen XFS filesystem will usually have the same universally unique identifier (UUID) as the original, and thus may be pre-
vented from being mounted. The XFS nouuid mount option can be used to circumvent this issue.
In Linux kernel version 2.6.29, the interface which XFS uses to freeze and unfreeze was elevated to the VFS, so that this tool can now be
used on many other Linux filesystems.
SEE ALSO
xfs(5), lvm(8), mount(8).
xfs_freeze(8)