07-26-2009
Quote:
Originally Posted by
incredible
Its always good to back up/restore when the filesystems are unmounted or the system is in single user-mode.
try this, if you can:-
ufsdump 0uf - /var | ( cd /mnt ;ufsrestore rf - )
Hi,
yes, thats much more safe if source FS is unmounted,
but in this case i dont see any issue related with mounted source FS.
kumarmani, be sure that destination FS is available for backup,
enough space, in read/write mode etc.
try create manually file.
it might be succeeded if you ll try as given command by incredible.
Good luck
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, Experts !
I've met a following challenge:
I have a unix machine, and I need to take a backup of its disk in order to use it for staging of the next machine in the future. But I try to find some information on how it is best to do it.
The spare disk which I have is new and not formatted,... (4 Replies)
Discussion started by: DGoubine
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all
I had started to learn how to backup disk to disk to tape method
Firstly I had backup to my NAS
tar czvf /MyNetworkStorge/backup.tar /home
Secondly I using dd command to copy the tar to tape
dd if=/MyNetworkStorge/backup.tar of=/dev/tape0
But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies
3. Solaris
Hi all,
I got the following error message from solaris 10 system.
Security Violations
=-=-=-=-=-=-=-=-=-=
Jun 1 01:48:21 unix009 scsi: ASC: 0x44 (internal target failure), ASCQ: 0x0, FRU: 0xbc
The following are from /var/adm/messages
Jun 1 01:48:21 unix009 scsi: WARNING:... (7 Replies)
Discussion started by: lramsb4u
7 Replies
4. Ubuntu
I am running Ubuntu Server, I recently added a new hard drive to the machine
When I run fdisk -l I see both drives.
The recently added drive is present but it's listed as extended.
when I try to mount the drive it says you must specify the file system type.
I can't mount this drive, I was... (2 Replies)
Discussion started by: NelsonC
2 Replies
5. Solaris
Hi dears, i´m working with a sun sparc server(M4000) , solaris 10 installed.
I need a little help, because i wanna know if is it possible to backup the whole system in a usb disk.
I´m gonna explain you a little more why i want to do it.
Currently i have installed a Solaris 10 working with... (5 Replies)
Discussion started by: botella
5 Replies
6. Red Hat
Hi All,
We connected 2 new tape drives to the servers. I am not able to see both HP tape drives in OS level. I am using RHEL 6.2 OS.
I have scanned and rebooted the server but still can't able to find the drives.
Thanks in advance..!!!!
---------- Post updated 10-22-13 at 05:07 PM... (1 Reply)
Discussion started by: Navkreddy
1 Replies
7. UNIX for Dummies Questions & Answers
I have a backup script. Before it runs it need to check the backup disk is connected. It usually mounts to /Volumes/Files_Bakup_1
I wrote a bit of script to do the check but it has failed me.
if
! cd /Volumes/Files_Backup_1
then
echo "could not connect to external hard drive";
... (5 Replies)
Discussion started by: timgolding
5 Replies
8. Solaris
Hello!
I have an Oracle server X5-2 with Solaris 11. Now, this server will get repurposed before I get a system of my own.
I am a beginner...but is there a way I can make a backup or an image of my whole disk so when I get my own system I can just restore without having to reinstall software... (1 Reply)
Discussion started by: chipsandiscream
1 Replies
9. Solaris
I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated
# df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/var 13241195 12475897 674524 96% /var
# fstyp /dev/vx/dsk/var
ufs
# pkginfo... (1 Reply)
Discussion started by: amity
1 Replies
LEARN ABOUT MOJAVE
umount
UMOUNT(8) BSD System Manager's Manual UMOUNT(8)
NAME
umount -- unmount filesystems
SYNOPSIS
umount [-fv] special | node
umount -a | -A [-fv] [-h host] [-t type]
DESCRIPTION
The umount command calls the unmount(2) system call to remove a special device or the remote node (rhost:path) from the filesystem tree at
the point node. If either special or node are not provided, the appropriate information is taken from the list of filesystems provided by
getfsent(3).
The options are as follows:
-a All the filesystems described via getfsent(3) are unmounted.
-A All the currently mounted filesystems except the root are unmounted.
-f The filesystem is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses
are attempted. The root filesystem cannot be forcibly unmounted.
-h host
Only filesystems mounted from the specified host will be unmounted. This option implies the -A option and, unless otherwise speci-
fied with the -t option, will only unmount NFS filesystems.
-t type
Is used to indicate the actions should only be taken on filesystems of the specified type. More than one type may be specified in a
comma separated list. The list of filesystem types can be prefixed with ``no'' to specify the filesystem types for which action
should not be taken. For example, the umount command:
umount -A -t nfs,hfs
umounts all currently-mounted filesystems of the type NFS and HFS. (The -a option only unmounts entries in the /etc/fstab list.)
-v Verbose, additional information is printed out as each filesystem is unmounted.
NOTES
Due to the complex and interwoven nature of Mac OS X, umount may fail often. It is recommended that diskutil(1) (as in, ``diskutil unmount
/mnt'') be used instead.
SEE ALSO
unmount(2), getfsent(3), mount(8), diskutil(1)
HISTORY
A umount command appeared in Version 6 AT&T UNIX.
4th Berkeley Distribution May 8, 1995 4th Berkeley Distribution