Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.


Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.


Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.


Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Commands & Shells, Filesystems

Moving filesystems with ufsdump

Submitted by on November 19, 2005 – 11:22 pm 3 Comments

to move /opt on new partition (disk or file system)

1) from system prompt: format –> partition –> label
2) newfs -v /dev/dsk/c0t1d0s1 (target location)
3) mkdir /new_dir
4) mount /dev/dsk/c0t1d0s1 /new_dir
5) cd /new_dir
6) ufsdump 0f – /opt | ufsrestore xvf –

Set directory mode, owner, and times.
set owner/mode for ‘.’? [yn] n
Directories already exist, set modes anyway? [yn] n

7) update /etc/vfstab (target partitions for /opt)

8) create/update boot record:
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0

9) reboot:
>ok boot /sbus@3,0/SUNW,fas@3,8800000/sd@d,0

Print Friendly, PDF & Email


  • veemodz says:

    I worked at one target location from jan-april and then another target location (in the same state) from nov-dec. Would i get one w2 or two? I already received one and I figured if it was a low amount it would be from the one i worked from nov-dec but since it isnt, im not 100% sure if its from both or just the one that i worked at longer..and the address is from target corp headquarters so im confused

  • dubmecrazy3 says:

    Lets say a platoon is under attack and they need some artillery rounds to kill the bad guys. How would the observer determine the exact location of the bad guys?

  • The Inc says:

    I was trying to back up my outlook files to external hard drive.i have exported the file and saved it as a backup file and from that folder I am unable to copy to the external hard drive as a pst file.Basically it is not asking for a target location ,it is giving the options of folders that I have saved other information in the same computer(not the hard drive option) .Could you please help me with this .I am using outlook 2003.

Leave a Reply

%d bloggers like this: