Logo
  • Home
  • About
  • Services
  • Blogs
  • Career
  • Contact
Logo

The UK's #1 Software Development Company. PodTech IO builds custom software solutions for businesses. Call today for a free consultation

  • Address

    4th Floor, 4 Tabernacle Street London EC2A 4LU
  • Email

    info@podtech.com
  • Contact

    +44 (0) 20 8720 6583

VxVM – Volume Management

  • Home
  • VxVM – Volume Management
  • By podtech
  • In UNIX

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
## # cfgadm -c configure c3
## # luxadm probe
# Add label to new disk
# # format
# vxdctl enable
# vxdiskadm        Add the new disk to <datadg>
# vxassist -g datadg maxsize
# vxassist -g datadg -U fsgen make <vol> 10g        Create a new 10Gb volume
# echo y | newfs /dev/vx/rdsk/datadg/<vol>
# fsck /dev/vx/rdsk/datadg/<vol>
# cp /etc/vfstab /etc/vfstab.<date>
# vi /etc/vfstab
  /dev/vx/dsk/datadg/<vol>   /dev/vx/rdsk/datadg/<vol>  /export/home2 ufs     3       yes     logging
# mkdir -p /export/home2              Volume mountpoint
# mount /export/home2
# df -k
For Oracle volumes
# vxedit set user=oracle group=dba mode=0775 u02_oradata
# chown oracle:dba /u02/oradata

Remove a volume

# dmesg            Check for recent errors
# df -k            Check the volume is not mounted
# vxprint <vol>
# vxassist -g datadg maxsize        Check current space in datadg
# vxvol -g datadg stop <vol>        Stop the volume
# vxprint <vol>                     Check volume is stopped
# vxedit -g datadg -rf rm <vol>     Remove volume
# vxassist -g datadg maxsize        Check for new space
# dmesg            Check for any errors

Increase a volume

# dmesg                          Check for recent errors
# df -k /oracle_backups          Check current size of filesystem, 5Gb
# vxassist -g datadg maxsize     Check available space in datadg
# vxprint orabck_filvp           Check current size LENGTH=10240000
# vxassist -g datadg -U fsgen growby orabck_filvp 10g       Increase vol by 10gb
# vxprint orabck_filvp           Check new size LENGTH=31211520
# /usr/lib/fs/ufs/mkfs -F ufs -M /oracle_backups /dev/vx/rdsk/datadg/orabck_filvp 31211520
# df -k /oracle_backups          Check new size of filesystem, should by 15Gb
# vxprint orabck_filvp           Check volume is ENABLED
# dmesg                          Check for recent errors
Add a volumeIncrease a volumeNormal UFS mounted filesystemRemove a volumeUNIXVolume ManagementVxVM
Shell – Finding Large Files – UNIX
Copying a filesystem with Veritas

Recent Posts

  • DevOps as a Software Development Methodology
  • How Does Spiral Software Development Methodology Work?
  • Waterfall Software Development Methodology And When To Use It
  • What Exactly Is Lean Software Development Methodology?
  • What is Kanban and How Does It Work?

PodTech IO

The UK's #1 Software Development Company. PodTech IO builds custom software solutions for businesses. Call today for a free consultation

Company

  • About
  • Services
  • Contact
  • Blogs
  • Career

Terms

  • Terms & Conditions
  • Privacy Policy

Contact Us

  • ADDRESS

    Headquarter: Tabernacle Street London India: Vi john Tower, Gurgaon, Haryana
  • EMAIL

    info@podtech.com
  • CONTACT

    +44 (0) 20 8720 6583

Copyright ©2023 PodTech IO. All Rights Reserved

Logo