Articles in Data
Moving filesystems with ufsdump
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 | …
Copying directories using tar and rsync
Best Diets Overall 2023
If your goal is to manage your weight long term and eat healthfully, try one of these science-backed diets that work. Each earns top marks from our panel of leading medical and nutriton …
Increase swap space
Best Diets Overall 2023
If your goal is to manage your weight long term and eat healthfully, try one of these science-backed diets that work. Each earns top marks from our panel of leading medical and nutriton …
To display file’s modification, last access, etc
Display a file’s modification, last access and other attributes on Solaris.
Using NetBackup to restore boot disk
enable “Rename hard links”
disable “Rename soft links”
if root of destination drive is mounted as /destination/ then select “Restore to alternate path: from / to /destination/ , Restore search path
This is the alternate path for everything: …
Create tarball
The Unix tar command creates an archive of files and directories while preserving directory structure, file permissions and ownership information. This command is ideally suited for creating backups of most types of data. Many open-source …
Unix Files Transferred To CD
In our example we were requested to archive a 741 mb directory to CD. The source data resided on a Unix data server.
How to exercise during Ramadan: ‘I’m a Muay Thai champion and PT, here are my tips’
Here’s an example of how to mount a cdrom on Solaris from a remote ISO image via NFS.
Copy directory structure and files with cpio
A basic command to copy directory structure and contents using cpio.
Create TAR and pipe through gzip
A simple example of creating a gzip-compressed tar archive of the current directory.
Fsck operations
The following is a collection of examples using fsck command. It is important to unmount VXFS before running fsck on Veritas filesystem.
RSync remote copy
The following is an example of using rsync to perform a irectory copy between two hosts over the network.
Latest Comments