Akamit Blog

Enterprise sysadmin's blog

  • You are here: 
  • Home
  • Labeling large number of LUNs in Solaris

Labeling large number of LUNs in Solaris

Posted on March 29th, 2010

You have added number of luns for use with VxVM, so you need to place a VTOC on every new disk.

# cfgadm -al -o show_FCP_dev
# vxdisk scandisks new

First command force Solaris to discover new FC devices. Second informs VxVM that new disks has appear.

# echo label > /tmp/cmd.txt
# echo quit >> /tmp/cmd.txt
# for i in `ls /dev/rdsk/*s2*`; do format -f /tmp/cmd.txt $i; done

Filed under Solaris |

One Response to “Labeling large number of LUNs in Solaris”

  1. Solaris format: быстро пролейблить диски | Unixpin Says:
    February 11th, 2011 at 1:29 pm

    [...] Labeling large number of LUNs in Solaris man format Posted by ikorolev Filed in solaris 3 Comments [...]

Leave a Reply