07-10-2001
But will i Have to reboot to single user or giving command "telinit s" is sufficient
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I was wondering is it possible to install Solaris over the network whit jumpstart and just ufsretore a dump file? The clinet's disk would totally be empty. I know that I can use the rules files, would I put the command to uferestore from the server in the pre install rules file. I... (0 Replies)
Discussion started by: larryase
0 Replies
2. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
3. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
4. UNIX for Dummies Questions & Answers
I ran this dump (as root) and got the following.............
# ufsdump 0f /dev/rmt/0n /
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Tue 11 Dec 2007 06:07:35 AM PST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c2t1d0s0 (gambler:/) to... (1 Reply)
Discussion started by: shorty
1 Replies
5. UNIX for Advanced & Expert Users
I just completed a level 0 ufsdump of the following files:-
ufsdump 0uf /dev/rmt/0n /
ufsdump 0uf /dev/rmt/0n /usr
ufsdump 0uf /dev/rmt/0n /export/home
ufsdump 0uf /dev/rmt/0n /oracle
ufsdump 0uf /dev/rmt/0n /sapr3
I need to restore ALL the files onto a different machine and continue... (1 Reply)
Discussion started by: charleywasharo
1 Replies
6. Solaris
HI Gurus,
I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,
I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
8. UNIX for Dummies Questions & Answers
People i have 2 sun sparc solaris 10.
I have one filesystem to 98% and i need to do a ufsdump of that filesystem.
THe problem is that i don't have space to allocate the dump of the filesystem.
Thats why i want to do it from the other sun and bring the ufs dump to de /FREE filesystem.
... (4 Replies)
Discussion started by: enkei17
4 Replies
9. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
10. Solaris
Hi all,
I have a Solaris 10 running on a M4000.
I wanted to migrate it to M10
q1) can I do a ufsdump on / in the m4000 and restore it on the m10 ?
q2) how do we ufsrestore on the naked M10 without any OS being install/running in the 1st place ?
q3) if the answer to the... (5 Replies)
Discussion started by: javanoob
5 Replies
LEARN ABOUT NETBSD
poweroff
REBOOT(8) BSD System Manager's Manual REBOOT(8)
NAME
reboot, poweroff, halt -- restarting, powering down and stopping the system
SYNOPSIS
halt [-dlnpqvxz]
poweroff [-dlnqvxz]
reboot [-dlnqvxz] [arg ...]
DESCRIPTION
The poweroff, halt and reboot utilities flush the file system cache to disk, send all running processes a SIGTERM, wait for up to 30 seconds
for them to die, send a SIGKILL to the survivors and, respectively, power down, halt or restart the system. The action is logged, including
entering a shutdown record into the login accounting file and sending a message via syslog(3).
The options are as follows:
-d Create a dump before halting or restarting. This option is useful for debugging system dump procedures or capturing the state of a
corrupted or misbehaving system.
-l Suppress sending a message via syslog(3) before halting or restarting.
-n Do not flush the file system cache. This option should be used with extreme caution. It can be used if a disk or a processor is on
fire.
-p Attempt to powerdown the system. If the powerdown fails, or the system does not support software powerdown, the system will halt.
This option is only valid for halt.
-v To enable verbose messages on the console, pass the boothowto(9) flag AB_VERBOSE to reboot(2).
-x To enable debugging messages on the console, pass the boothowto(9) flag AB_DEBUG to reboot(2).
-z To silence some shutdown messages on the console, pass the boothowto(9) flag AB_SILENT to reboot(2).
-q Do not give processes a chance to shut down before halting or restarting. This option should not normally be used.
If there are any arguments passed to reboot they are concatenated with spaces and passed as bootstr to the reboot(2) system call. The string
is passed to the firmware on platforms that support it.
Normally, the shutdown(8) utility is used when the system needs to be halted or restarted, giving users advance warning of their impending
doom.
SEE ALSO
reboot(2), syslog(3), utmp(5), boot(8), init(8), rescue(8), shutdown(8), sync(8)
HISTORY
A reboot command appeared in Version 6 AT&T UNIX.
The poweroff command first appeared in NetBSD 1.5.
CAVEATS
Once the command has begun its work, stopping it before it completes will probably result in a system so crippled it must be physically
reset. To prevent premature termination, the command blocks many signals early in its execution. However, nothing can defend against delib-
erate attempts to evade this.
This command will stop the system without running any shutdown(8) scripts. Amongst other things, this means that swapping will not be dis-
abled so that raid(4) can shutdown cleanly. You should normally use shutdown(8) unless you are running in single user mode.
BUGS
The single user shell will ignore the SIGTERM signal. To avoid waiting for the timeout when rebooting or halting from the single user shell,
you have to exec reboot or exec halt.
BSD
February 16, 2011 BSD