© 2023 PodTECH IO
All rights reserved.

Get in Touch

UNIX

Copying a filesystem with Veritas

Copying a filesystem with Veritas This procedure is to create an exact copy of a Veritas filesystem. You will need enough spare disks in your volume group, and ideally anything using the filesystem should be killed. create a mirror # vxassist -g tier3dg mirror tier3fs # vxprint tier3fs Disk group: tier3dg TY NAME ASSOC KSTATE […]

UNIX

VxVM – Volume Management

Volume Management Add a volume (Normal UFS mounted filesystem) # # vxassist -g datadg maxsize # # iostat -En > /tmp/iostat_en_<date> # # devfsadm # # iostat -En > /tmp/iostat_en_<date>.NEW # # luxadm probe # If no disk appears add disk manually ## # vxdmpadm listctlr all ## # cfgadm -c configure c2 ## # […]

UNIX

Screen – /usr/bin/screen

Screen – /usr/bin/screen Useful commands: Screen ^AC – create new session ^AA – swap to previous session (flip back/forth) ^AN – go to next session ^AP – go to previous session ^AD – disconnect ^AK – kill current session

UNIX

Add a VIP in Solaris

Add a VIP in Solaris 1) create /etc/hostname.<interfacename>:<n> containing the hostname of the virtual IP example: /etc/hostname.bge0:1 2) add the hostname and virtual IP to /etc/hosts 3) use the following commands to configure the interface: ifconfig <interfacename>:<n> plumb example: ifconfig bge0:1 plumb ifconfig <interfacename>:<n> <IP address> netmask <netmask> broadcast + up example: ifconfig hme0:1 10.67.1.141 […]