UFSDUMP help

Hi
Sorry but i'm still new to Sun.
Actually, my problem here is that i couldn't backup the root file system to tape using the ufsdump command:
ufsdump 0fu /dev/rmt/1 /dev/rdsk/c0t0d0s0
DUMP: Writing 32 kilobytes records
DUMP: Date of this level 0 dump: Mon March 13 12:00:42 2006
DUMP: Date of last level 0 dump: The epoch
DUMP: Dumping /dev/rdsk/c0t0d0s0 (oracle:/) to /dev/rmt/1cbn
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 3078058 blocks (1502.63 MB)
DUMP: NEEDS ATTENTION: Cannot open 'Oracle:/dev/rmt/1cbn'. Do you want to retry the open?: ("Yes" or "No") yes
DUMP: NEEDS ATTENTION: Cannot open 'Oracle:/dev/rmt/1cbn'. Do you want to retry the open?: ("Yes" or "No") no
DUMP: The entire dump is aborted.
I checked the tape status:
mt -f /dev/rmt/1 status
/dev/rmt/1: No tape loaded or drive offline
* I even tried with other options but return the same output. e.g /dev/rmt/1cbn
Here is the output when i scan for the tape device:
/usr/openv/volmgr/bin/sgscan tape
/dev/sg/c0t1l0: (/dev/rmt/1): "QUANTUM DLT8000"
/dev/sg/c2t4l0: (/dev/rmt/0): "HP C1537A"
I'm trying to backup to QUANTUM DLT8000. Please help.
Would be glad and appreciate with all the help given.
Thanks.

A word of caution, it is generally not a good idea to ufsdump(1M) a mounted filesystem. Not only that you may ended up with a corrupted dump, there may ended up with other side effects, e.g. hanging the filesystem in particularly ufs logging is enabled.
Possible solutions are: 1) Boot up from CD/network and ufsdump the root FS, or 2) configure UFS snapshot (fssnap(1M)) and backup the snapshot.
Hope this helps.
Regards
S.T.

Similar Messages

  • Ufsdump problem?? help

    I try to ufsdump to remote tape device on AIX machine , then got error:....
    root@NS-SUN-USNJ []# ufsdump 0uf db_srv1_usnj:/dev/rmt0 /var/log/firewall/netstructure.nj.log.0
    DUMP: Writing 32 Kilobyte records
    DUMP: Date of this level 0 dump: Wed May 08 22:39:09 2002
    DUMP: Date of last level 0 dump: the epoch
    DUMP: Dumping /dev/rdsk/c0d0s3 (NS-SUN-USNJ:/var) to db_srv1_usnj:/dev/rmt0.
    DUMP: Mapping (Pass I) [regular files]
    DUMP: Mapping (Pass II) [directories]
    DUMP: Estimated 19792 blocks (9.66MB).
    DUMP: Lost connection to remote host.
    DUMP: Bad return code from dump: 1
    any idea?
    Thanks.

    Make sure you can rlogin to the aix server as root. If you can't then that's why it failed. You may have to create a .rhosts file in roots home and modify the /etc/hosts.equiv file so that you can rlogin. After root can rlogin give it an other try.

  • Ufsdump not working

    Hi,
    I have a problem with my solaris OS backup. When I am trying to take a backup using ufsdump it shows the following output.
    bash-3.00# df -h
    Filesystem size used avail capacity Mounted on
    /dev/dsk/c0d0s0 6.6G 4.3G 2.2G 67% /
    /devices 0K 0K 0K 0% /devices
    ctfs 0K 0K 0K 0% /system/contract
    proc 0K 0K 0K 0% /proc
    mnttab 0K 0K 0K 0% /etc/mnttab
    swap 618M 940K 617M 1% /etc/svc/volatile
    objfs 0K 0K 0K 0% /system/object
    sharefs 0K 0K 0K 0% /etc/dfs/sharetab
    /usr/lib/libc/libc_hwcap1.so.1
    6.6G 4.3G 2.2G 67% /lib/libc.so.1
    fd 0K 0K 0K 0% /dev/fd
    swap 617M 104K 617M 1% /tmp
    swap 655M 38M 617M 6% /var/run
    /dev/dsk/c0d0s7 996M 1.0M 935M 1% /export/home
    /dev/dsk/c0d0s6 9.9G 10M 9.7G 1% /backup
    bash-3.00# uname -a
    SunOS solaris24sept 5.10 Generic_139556-08 i86pc i386 i86pc
    bash-3.00# fssnap -o bs=/export/home /dev/rdsk/c0d0s0
    /dev/fssnap/0
    bash-3.00#
    bash-3.00# ufsdump 0f /backup/bkproot.dump /dev/rfssnap/0
    DUMP: Date of this level 0 dump: Tue Sep 28 15:56:05 2010
    DUMP: Date of last level 0 dump: the epoch
    DUMP: Dumping /dev/rfssnap/0 to /backup/bkproot.dump.
    DUMP: Mapping (Pass I) [regular files]
    DUMP: Mapping (Pass II) [directories]
    DUMP: Writing 32 Kilobyte records
    DUMP: Estimated 9373972 blocks (4577.13MB).
    DUMP: Dumping (Pass III) [directories]
    DUMP: Dumping (Pass IV) [regular files]
    DUMP: bread: dev_seek error: Invalid argument
    DUMP: Warning - block 58862182 is beyond the end of `/dev/rfssnap/0'
    DUMP: Warning - block 667722168 is beyond the end of `/dev/rfssnap/0'
    DUMP: bread: dev_seek error: Error 0
    DUMP: bread: dev_seek error: Error 0
    DUMP: Warning - block 2139960558 is beyond the end of `/dev/rfssnap/0'
    DUMP: bread: dev_seek error: Error 0
    DUMP: bread: dev_seek error: Invalid argument
    DUMP: Warning - block 868344874 is beyond the end of `/dev/rfssnap/0'
    DUMP: bread: dev_seek error: Error 0
    DUMP: Warning - block 23941632 is beyond the end of `/dev/rfssnap/0'
    DUMP: More than 32 block read errors from dump device `/dev/rfssnap/0'
    DUMP: NEEDS ATTENTION: Do you want to attempt to continue? ("yes" or "no") DUMP: Warning - block 25255424 is beyond the end of `/dev/rfssnap/0'
    DUMP: More than 32 block read errors from dump device `/dev/rfssnap/0'
    DUMP: NEEDS ATTENTION: Do you want to attempt to continue? ("yes" or "no") no
    DUMP: The ENTIRE dump is aborted.
    bash-3.00#
    Also trying to take from single user mode but same error coming. Not only that after each session my VM session got corrupted . System stuck on GRUB section(first appear) after reboot.
    In other case backup taken successfully of /export/home filesystem using ufsdump.
    bash-3.00# ufsdump 0uf /backup/homebkp.dump /dev/rdsk/c0d0s7
    DUMP: Date of this level 0 dump: Tue Sep 28 16:30:24 2010
    DUMP: Date of last level 0 dump: the epoch
    DUMP: Dumping /dev/rdsk/c0d0s7 (solaris24sept:/export/home) to /backup/homebkp.dump.
    DUMP: Mapping (Pass I) [regular files]
    DUMP: Mapping (Pass II) [directories]
    DUMP: Writing 32 Kilobyte records
    DUMP: Estimated 368 blocks (184KB).
    DUMP: Dumping (Pass III) [directories]
    DUMP: Dumping (Pass IV) [regular files]
    DUMP: 318 blocks (159KB) on 1 volume at 2208 KB/sec
    DUMP: DUMP IS DONE
    DUMP: Level 0 dump on Tue Sep 28 16:30:24 2010
    bash-3.00#
    Basically I am planning to take my production backup so any help should be highly appreciable.
    Archis

    Hi Archisman,
    There is a confusion in the questionaire you have got and the way ur performing the actions.
    Can u highlight your exact requirement and expectations stepwise.
    Like which all FS needs to be backed up and devices you will use etc.

  • Backup issues (ufsdump/ufsrestore) under solaris 10

    Hello all,
    We are in the process of migrating to Solaris 10 from Solaris 8.
    On our Solaris 8 systems with 2 HDDs we have a script that does a full backup of one disk (slice by slice) on to another using ufsdump/ufsrestore + boot record. The idea is that if one disk becomes corrupt logically/physically we can boot off the backup disk and continue using the system.
    This worked fine under Solaris 8. We tried to do the same under Solaris 10 and noticed some unexpected behaviour when we tried to boot off the backup disk. Solaris 10 started "reconfiguring services" just like it does it when you install the OS fresh with the message:
    Loading smf(5) service descriptions: xx/117
    Somehow Solaris 10 "knew" that it was booted from a different device than last time.
    My question would be: how does Solaris 10 know this and could we "fool" it into thinking that it was always installed on a backup disk, so it doesn't reconfigure itself every time new backup is made (and used).

    "... The real question is "how can I be sure that except smf there is nothing else in the OS affected by HDD change" and that is what I meant..."
    The fact that you use ufsdump on mounted (I am guessing that you are doing so :-) file systems is risky!. Alternatively, you can create snapshots (fssnap(1M)) for the file systems that you are going to ufsdump on.
    If your main aim is to replicate and reduce down time in case of root disk failure, a better solution is make use of mirriong via Solaris Volume Manager (aka SDS or md(7D)). Mirror does not guard against human errors though, such as accidentally deletion of crucial files :-) (which a backup strategy can guard against).
    Hope this helps.
    Regards,
    S.T.Chang

  • Ufsdump and zones solaris 10

    We do a backup daily via a script of the our zone using ufsdump.Sometimes the backup goes through each file system and other times the entire process is repeated three times.
    I have also checked that there is no instruction entry specified in the script to try again if the backup should fail for some reason. Any help will do.

    It depends on what file systems you are backing up. Perhaps you have a backup from the root file system on down, which would include the zones. Or, say for example you use /export/home for your zones and you backup /export/home on a regular basis; that job would also include the zones underneath.
    ufsdump is not zone-aware in the sense that it will read zonepath settings and treat them as separate filesystems. It might simply be that some of your jobs are redundant.

  • Help ----- DUMP: bread: dev_seek error: I/O error

    Dear All,
    While taking a backup I am facing some problem with one mount point in the server, getting the below error when taking a backup on tape with the help of UFSDUMP. Solaris 9 is running in this server.
    Could you please help me to resolve this issue.
    DUMP: Date of this level 0 dump: Tue Jun 24 00:41:12 2008
    DUMP: Date of last level 0 dump: the epoch
    DUMP: Dumping /dev/rdsk/c2t40d2s5 (oneseb-db04:/u03/oradata01) to /dev/rmt/0n.
    DUMP: Mapping (Pass I) [regular files]
    DUMP: Mapping (Pass II) [directories]
    DUMP: Warning - block 3368716482 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3905158684 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 2597510354 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 2229987560 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3738995400 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3538550288 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 2630545058 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3939165426 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: bread: dev_seek error: I/O error
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: bread: dev_seek error: I/O error
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3402426878 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: bread: dev_seek error: I/O error
    DUMP: Warning - directory at inode `8191232' is corrupted
    DUMP: Warning - block 3404785796 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - block 3740293120 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - block 2585158234 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - block 3737701000 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 3270034430 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 479908572 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 3531926248 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 3906919562 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 3369265662 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 278711022 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 2733296356 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 4093640702 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: bread: dev_seek error: I/O error
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 2563427560 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: bread: dev_seek error: I/O error
    DUMP: Warning - directory at inode `8191234' is corrupted
    DUMP: Warning - block 2831872232 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: Warning - block 2229203032 is beyond the end of `/dev/rdsk/c2t40d2s5'
    DUMP: SIGSEGV() ABORTING!
    /backup/backup.sh[475]: 24508 Abort(coredump)
    FAILED: Backup of /dev/rdsk/c2t40d2s5 (/u03/oradata01) failed.
    Thanks
    Edited by: pravin.scsa on Jun 25, 2008 6:58 AM

    Problem solved itself.... interesting drive problem.... would only pick up on disc occasionally

  • Ufsdump - ufsrestore ?

    i am a real dummy to solaris and in need of help.
    I have a dump file, an oracle cold backup taken with ufsdump command. This dump file resides on the disk, not the tape.
    I want to extract this dump file to a directory. But i cant, i read about ufsrestore command and i think it can only restore from the tape?
    What can i do to extract this dump file? thanks in advance.

    Do you need the entire contents?
    # cd /where/to/restore
    # ufsrestore rf /path/to/dumpfile
    Do you need only some of the contents?
    # cd /where/to/restore
    # ufsrestore if /path/to/dumpfile
    restore> (add files/directories you want to restore, then 'restore' to restore them)
    Darren

  • Sun V440 Backup help

    I have three V440�s now connected on the same network. I need to back up the data on each of these systems. I have one tape drive, a Quantum superloader3 with an ATO3 tape drive connected to one of the systems. I have in the past backed up data to a tape that resided on the same system the tape drive was attached to, but I have never needed to back data that was on another system before. At the moment I am looking into some software solutions but I now only have the basic UNIX tools to work with (mt, cpio, tar, etc.).
    At the moment I am experimenting with sharing out the directory on the other system and creating a mount point on the system with the tape drive. I am using the cpio command to copy the data to tape but that is on the slow side. I have about 100 gigs of data on each system I would like to backup fully, at least once.
    I would appreciate it if you have any suggestions on how I could accomplish backing these systems up. I am not particular in which command to do the backup, I just would like to be able to back them up in the shortest period of time.
    I appreciate any help you can give me on this matter.

    I was thinking of using the ufsdump command but I did not know if it would work since I want to backup the file systems on another system.
    Since in the ufsdump command it refers to the file systems by their disk slice with its full path name how do I get the command to backup the files systems on another system?

  • Ufsdump error

    I get this error evertime i try to ufsdump, i forgot the cause of this but I think it has something to do with blocksize, but i dont recall, please help.
    sjcfwb01 $ ufsdump 0uva filesystem_root.$$ /dev/rmt/0n
    DUMP: Warning - block 16 is beyond the end of `/dev/rmt/0n'
    DUMP: Warning - super-block on device `/dev/rmt/0n' is corrupt - run fsck
    DUMP: The ENTIRE dump is aborted.

    The last argument (/dev/rmt/0n, the tape device) looks
    wrong. Ufsdump expects the device or the filesystem it
    should dump as the last argument. ufsdump attempts to
    fine a "UFS" filesystem on the device "/dev/rmt/0n" and
    try to write a backup of it on the default tape device
    (which happens to be /dev/rmt/0). That can't work.
    You probably need something like
    ufsdump 0uvfa /dev/rmt/0n filesystem_root.$$ /opt
    to backup the /opt filesystem on device /dev/rmt/0n,
    verify the backup and archive a table-of-contents in
    filesystem_root.$$
    Btw: the "v" verify option only works on "read-only" mounted
    or unmounted filesystems.

  • Ufsdump and restore over a networks

    hi im a beginner of unix i want to know how to dump a workstation root and home partition in the server in the network or different location using ufsdump command inorder to restore it in a defferent location using ufsrestore command..im using nfs and solaris 8.because this is my problem our workstation is working and the other workstation got broken and i want to dump a working workstation not physically connect the hard disk in the working workstation..i will dump it in my office.over a network
    please help me..this is useful for me cause this is always happen when workstation have powerfailure or not shutdown properly..
    thnks

    Create two shares on the nfs server and share it out across the network.
    On the workstation that you want to use as your ufs image, mount that share point on the workstation, say /restore_root and /restore_home
    mount nfs_server:/share_dir /restore_root
    mount nfs_server:/share_dir2 /restore_home
    Issue the following command (the assumption is that root is on slice 0 and home is on slice 3)
    ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /restore_root;ufsrestore xf -)
    ufsdump 0f - /dev/rdsk/c0t0d0s3 | (cd /restore_home;ufsrestore xf -)

  • Clone internal disk(ufsdump) which has metadevice on external disk(sol 5.6)

    Dear IT Experts,
    I just help my friend. we planned to clone an internal disk of SUN Ultra 1 which is run using Solaris 2.6 (old).
    Actually, this system has one external disk which has created before using metadevice.
    The external disk (*/dev/md/dsk/d100 --> concatenation*) is used to save application data and connected to ultra 1 using SCSI device.
    Here is the vfstab content:
    +#device     device     mount     FS     fsck     mount     mount+
    +#to mount     to fsck     point     type     pass     at boot     options+
    +#+
    +#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr     ufs     1     yes     -+
    fd     -     /dev/fd     fd     -     no     -
    +/proc     -     /proc     proc     -     no     -+
    swap     -     /tmp     tmpfs     -     yes     -
    +/dev/dsk/c0t0d0s1     -     -     swap     -     no     -+
    +/dev/dsk/c0t0d0s0     /dev/rdsk/c0t0d0s0     /     ufs     1     no     -+
    +/dev/dsk/c0t0d0s6     /dev/rdsk/c0t0d0s6     /usr     ufs     1     no     -+
    +/dev/dsk/c0t0d0s4     /dev/rdsk/c0t0d0s4     /var     ufs     1     no     -+
    +/dev/dsk/c0t0d0s7     /dev/rdsk/c0t0d0s7     /export/home     ufs     2     yes     -+
    +/dev/dsk/c0t0d0s5     /dev/rdsk/c0t0d0s5     /opt     ufs     2     yes     -+
    +/dev/md/dsk/d100     /dev/md/rdsk/d100     /export/home/oak     ufs     2     yes     +-
    Running command "metastat" and "metadb -i" will give output :
    +# metastat+
    d100: Concat/Stripe    Size: 53031888 blocks    Stripe 0: (interlace: 64 blocks)        Device              Start Block  Dbase        c0t2d0s7                   0     No        c0t3d0s7                   0     No        c0t4d0s7                   0     No
    +#+
    +# metadb -i+
    flags           first blk       block count
    a m  pc luo        16              1034            /dev/dsk/c0t0d0s3
    a    pc luo        1050            1034            /dev/dsk/c0t0d0s3
    a    pc luo        2084            1034            /dev/dsk/c0t0d0s3
    Running command "format" will give output :
    Current partition table (original):
    Total disk cylinders available: 2733 2 (reserved cylinders)+
    Part      Tag    Flag     Cylinders        Size            Blocks
    +0 root wm 0 - 134 100.20MB (135/0/0) 205200+
    +1 swap wu 135 - 307 128.40MB (173/0/0) 262960+
    +2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160+
    +3 unassigned wm 308 - 310 2.23MB (3/0/0) 4560+
    +4 var wm 311 - 580 200.39MB (270/0/0) 410400+
    +5 unassigned wm 581 - 985 300.59MB (405/0/0) 615600+
    +6 usr wm 986 - 2333 1000.47MB (1348/0/0) 2048960+
    +7 home wm 2334 - 2732 296.13MB (399/0/0) 606480+
    We try to clone disk using "ufsdump" command. The backup disk (cot1d0) capacity is like the capacity of original disk (c0t0d0) --> 2.1GB.
    Here is all the command that we have run:
    +# mount /dev/dsk/c0t1d0s0 /clone-root+
    +# cd /clone-root+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s0|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s3 /clone-s3+
    +# cd ../clone-s3+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s3|ufsrestore -rf - --> this command gave output "it is not ufsdump format"+
    # mount /dev/dsk/c0t1d0s4 /clone-var
    # cd ../clone-var
    # ufsdump 0cf - /dev/rdsk/c0t0d0s4|ufsrestore -rf -
    +# mount /dev/dsk/c0t1d0s5 /clone-opt+
    +# cd ../clone-opt+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s5|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s6 /clone-usr+
    +# cd ../clone-usr+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s6|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s7 /clone-export+
    +# cd ../clone-export+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s7|ufsrestore -rf+ -
    All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
    All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
    Afte install bootblk to c0t1d0s0, we tried to boot system using clone disk result (c0t1d0). We unplugged the original disk, and put the clone disk into target 0 slot (c0t0d0).
    While booting, it said that the meta database was broken and need to be repaired. we delete the metadb and re-create again --> # metadb -a -c3 -f /dev/dsk/c0t0d0s3.
    then REBOOT.
    But, after it, system won`t boot. the said that
    *"/dev/md/rdsk/d100" = no such device or address*
    */dev/md/rdsk/d100 /dev/dsk/c0t0d0s5 /dev/dsk/c0t0d0s7 = can`t check file system*
    please run fsck manually"
    we have run command "fsck". but the problem still there. System can`t boot. :-(
    But, while we put the original disk back, the system can run normally.
    Is there any steps that we are missing? Kindly need your help, please....we stuck. No idea...please response
    Thank you for any help and suggestion
    regarads,
    ferianto

    Sorry to hear.
    Other possibilities...
    Data Rescue...
    http://www.prosofteng.com/products/data_rescue.php
    (Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
    rccharles on file recovery...
    "Stellar Phoenix Macintosh - Mac data recovery software, recovers data from damaged, deleted, or corrupted volumes and even from initialized disks."
    They have a trial version, so I guess you can see if your data can be recovered...
    http://www.stellarinfo.com/mac-data-recovery.htm
    FileSalvage is an extremely powerful Macintosh application for exploring and recovering deleted files from a drive or volume. FileSalvage is designed to restore files that have:
        * been accidentally deleted.
        * become unreadable due to media faults.
        * been stored on a drive before it was re-initialized/formatted.
    http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&products_id= 1

  • Remote backup using ufsdump

    Hi All,
    I've been trying to perform a backup of my system server for another system. My initial problem was that the other system's server is a Sun V440 while mine is a Sun V480, thus, the disk has a different SCSI connector than mine. I discovered that one of my workstations (Netra 1405) has the same style SCSI connector as the 440 disk, so I've been attempting to perform the backup with the other system server's disk in Bay 1 of my workstation.
    The two drives are also a different model and size, so I've been using the format command to adjust the partitions accordingly in an effort to make them mirror my disk. Once I adjust the label and write it to the disk, I'll newfs the newly created partitions.
    Next, as root on my system server, I'll issue the following: ufsdump -0f workstation:/dev/dsk/cxtxdxsx /dev/dsk/cxtxdxsx | ufsrestore -rf workstation:/dev/dsk/cxtxdxsx
    *the x's correspond to the target, slice, etc of the disks I'm using
    The dump will execute but will display the message "volume is not in dump format." After the dump finishes ~20min or so, I'll issue a format command on rws3 to check out the disk, and it says "<disk formatted> label?" I'll enter yes, and the partition tables come up, but they're all changed around from what I initially configured. I can't mount the newly dumped-to partition either. Is the syntax of my command correct? Should I try to dump to the raw device? Do both servers have to be running the same version of Solaris? -- please advise.
    One more concern, just dumping data to the disk partitions does not make a golden disk. I did some research and found a command /usr/sbin/installboot that can be used to install a boot block to a newly cloned disk. Is this something I'm going to be able to do remotely from my system server to my workstation as well? -- or will the other system just have to insert the disk into their server and install their boot block from there?
    I greatly appreciate any help,
    Dave

    Next, as root on my system server, I'll issue the
    following: ufsdump -0f workstation:/dev/dsk/cxtxdxsx
    /dev/dsk/cxtxdxsx | ufsrestore -rf
    workstation:/dev/dsk/cxtxdxsxWhat do you intend this command to do?
    You are giving ufsdump a remote filename, but then pipe it into ufsrestore. Since the filename is remote, there's no data for the ufsrestore to read.
    It doesn't work like that.
    Your best bet would be to assume that you have ssh (or rsh) between the machines:
    serverA# ufsdump 0f - /<filesystem> | ssh serverb "cd /<newfilesystem> && ufsrestore rf -"
    The dump will execute but will display the message
    "volume is not in dump format." Actually, that's ufsrestore saying that. Note that ufsrestore always restores on the local machines. So it looks to me like you're trying to send a dump image to a workstation, then run ufsrestore to read the data from the remote workstation and restore it locally on the server.
    After the dump
    finishes ~20min or so, I'll issue a format command
    on rws3 to check out the disk, and it says "<disk
    formatted> label?" I'll enter yes, and the
    partition tables come up, but they're all changed
    around from what I initially configured.ufsdump doesn't manage partition tables. Never stick a dump image on a raw device like that if it has cylinder zero or you'll corrupt the label.
    ufsrestore must already have the filesystems sized, created, and mounted before it can work.
    I can't
    mount the newly dumped-to partition either. Is the
    syntax of my command correct? Should I try to dump
    to the raw device? Not unless you're doing something very special, and I don't think you are.
    Do both servers have to be
    running the same version of Solaris?No.
    Darren

  • Ufsdump to remote AIX tape drive

    I am trying to ufsdump to a remote tape drive that is on an AIX box.
    I have configured the /.rhosts file on the AIX server
    I have created a symbolic link /etc/rmt to point to /usr/sbin/rmt on the AIX box
    I am running the following command on the sun box
    ufsdump 0cuf AIXBOX:/dev/rmt0.1 /dev/dsk/c1t0d0s0
    but I get this :
    DUMP: Date of this level 0 dump: Thu Feb 18 15:42:17 2010
    DUMP: Date of last level 0 dump: the epoch
    DUMP: Dumping /dev/rdsk/c1t0d0s0 (SUN10:/) to AIXBOX:/dev/rmt0.1
    DUMP: Mapping (Pass I) [regular files]
    DUMP: Mapping (Pass II) [directories]
    DUMP: Writing 63 Kilobyte records
    DUMP: Estimated 12017946 blocks (5868.14MB).
    DUMP: Lost connection to remote host.
    DUMP: Bad return code from dump: 1
    DUMP: Date of this level 0 dump: Thu Feb 18 15:42:28 2010
    DUMP: Date of last level 0 dump: the epoch
    Is it possible to get this to work?

    If i interpreted the code to ufsdump correctly, it will attempt to execute the command /etc/rmt on the remote host over a shell (port 514) connection.
    The rmt supports the remote magtape protocol, so ufsdump creates a datastream and sends it over the network to rmt, which is responsible for sending it to a tape device.
    Is there an /etc/rmt binary in AIX? In Solaris there is a /etc/rmt, even if its just a link to /usr/sbin/rmt, if there isn't a /etc/rmt, check if there is an rmt binary elsewhere on the system, and symlink it.
    If there is a /etc/rmt, two other things to check would be that the shell connection is working (by running something like 'rsh AIXBOX echo hej') and double check the path to the tape driver on the AIX host.
    Hope this helps, i am not that experienced in remote taping nor AIX.
    .7/M.

  • Duplicate fiber root disk using just ufsdump/ufsrestore/installboot ...

    I have to setup 5 x 890 servers and 4 x 490 servers. Without using jumpstart, is there a quick way to do a duplicate a root disk using just ufsdump/ufsrestore/installboot commands? If these boxes had SCSI drives, this would not be problem. Because of the fiber drives, I am struggling to figure out how to do it - because the WWNs are embedded into device tree.
    Anybody got any ideas how to do it using plain old ufsdump/ufsrestore commands?
    Thanks.
    SG

    Hi Michael,
    Thanks for the qucik reply.
    The problem persists. I deleted the contents of /disk2/dev/dsk and /disk2/dev/rdsk. Then I rebuilt the device tree using:
    /usr/sbin/devfsadm -c disk -r /disk2 -p /disk2/etc/path_to_instThen I set the boot parameter:
    luxadm set_boot_dev /dev/dsk/c2t2d0s0When rebooting, the new WWN now correctly shows up under boot-device. However, the file system appears to be mounted as read-only again. The same errors show up on the screen, all related to starting services, cron, etc. All instances are followed by an error message of "Read-only file system".
    I also fsck'ed the root partition, but this didn't help fix the problem.
    After this test, I ran fsck again, and noticed that c2t2d0s0 was last mounted on /disk2, so the root slice was in fact never mounted during boot.
    Is there anything else I can check with regards to the read-only mounting problem?
    Thanks.

  • Problem with threads and simulation: please help

    please help me figure this out..
    i have something like this:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DrawShapes extends JApplet{
         private JButton choices[];
         private String names[]={"line", "square", "oval"};
         private JPanel buttonPanel;
         private DrawPanel drawingArea;
         private int width=300, height=200;
         public void init(){
              drawingArea=new DrawPanel(width, height);
              choices=new JButton[names.length];
              buttonPanel=new JPanel();
              buttonPanel.setLayout(new GridLayout(1, choices.length));
              ButtonHandler handler=new ButtonHandler();
              for(int i=0; i<choices.length; i++){
                   choices=new JButton(names[i]);
                   buttonPanel.add(choices[i]);
                   choices[i].addActionListener(handler);
              Container c=getContentPane();
              c.add(buttonPanel, BorderLayout.NORTH);
              c.add(drawingArea, BorderLayout.CENTER);
         }//end init
         public void setWidth(int w){
              width=(w>=0 ? w : 300);
         public void setHeight(int h){
              height=(h>=0 ? h : 200);
         /*public static void main(String args[]){
              int width, height;
              if(args.length!=2){
                   height=200; width=300;
              else{
                        width=Integer.parseInt(args[0]);
                        height=Integer.parseInt(args[1]);
              JFrame appWindow=new JFrame("An applet running as an application");
              appWindow.addWindowListener(
                   new WindowAdapter(){
                        public void windowClosing(WindowEvent e){
                             System.exit(0);
              DrawShapes appObj=new DrawShapes();
              appObj.setWidth(width);
              appObj.setHeight(height);
              appObj.init();          
              appObj.start();
              appWindow.getContentPane().add(appObj);
              appWindow.setSize(width, height);
              appWindow.show();
         }//end main*/
         private class ButtonHandler implements ActionListener{
              public void actionPerformed(ActionEvent e){
                   for(int i=0; i<choices.length; i++){
                        if(e.getSource()==choices[i]){
                             drawingArea.setCurrentChoice(i);
                             break;
    }//end class DrawShapes
    class DrawPanel extends JPanel{
         private int currentChoice=-1;
         private int width=100, height=100;
         public DrawPanel(int w, int h){
              width=(w>=0 ? w : 100);
              height=(h>=0 ? h : 100);
         public void paintComponent(Graphics g){
              super.paintComponent(g);
              switch(currentChoice){
                   case 0:     g.drawLine(randomX(), randomY(), randomX(), randomY());
                             break;
                   case 1: g.drawRect(randomX(), randomY(), randomX(), randomY());
                             break;
                   case 2: g.drawOval(randomX(), randomY(), randomX(), randomY());
                             break;
         public void setCurrentChoice(int c){
              currentChoice=c;
              repaint();          
         private int randomX(){
              return (int) (Math.random()*width);
         private int randomY(){
              return (int) (Math.random()*height);
    }//end class drawPanel
    That one's from a book. I used that code to start with my applet. Mine calls different merthod from the switch cases. Say I have:
    case 0: drawStart(g); break;
    public void drawStart(Graphics g){
      /* something here */
    drawMain(g);
    public void drawMain(graphics g){
    g.drawString("test", x, y);
    //here's where i'm trying to pause
    //i've tried placing Thread.sleep between these lines
    g.drawLine(x, y, a, b);
    //Thread.sleep here
    g.drawRect(x, y, 50, 70);
    }I also need to put delays between method calls but I need to synchronize them. Am I doing it all wrong? The application pauses or sleeps but afterwards, it still drew everything all at once. Thanks a lot!

    It is. Sorry about that. Just answer any if you want to. I'd appreciate your help. Sorry again if it caused you anything or whatever. .n_n.

Maybe you are looking for