dhanaunix

Thursday, March 16, 2017

Re-labeling a disk on Solaris 


1)   To redirect  PRTVTOC output to a file
     
      # prtvtoc /dev/dsk/c0t0d0s0 > /tmp/ab1

2)  To copy the contents of VTOC from one disk to other
     
      # fmthard -s /tmp/ab1 /dev/rdsk/c0t3d0s2

Posted by Dhana at 12:31 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Unix Administrator

Dhana
View my complete profile

Blog Archive

  • ▼  2017 (46)
    • ►  September (2)
    • ►  August (19)
    • ►  July (8)
    • ►  April (4)
    • ▼  March (13)
      • Users not able to login after reboot/migration T...
      • To Recover VxVM configuration if VxVM has been re...
      • How to create rootdg manually without using vxins...
      • How to grow disk size in SDS Solaris 1) Identify...
      • Disk Cloning on Solaris 1)  Install the Disk 2...
      • System Security on Solaris  1)  Latest patches ...
      • Re-labeling a disk on Solaris  1)   To redirect...
      • Setting Label for Boot Device on Linux 1) Crea...
      • Installing Traceroute package on Ubuntu Linux ...
      • Configuring DHCP on Linux RHEL 7 1) Install the...
      • How to limit the bandwidth of Non-global zone on ...
      • Tuning the File system on Solaris 1) # newfs -m...
      • How to check the server is physical or Virtual ...
  • ►  2016 (82)
    • ►  November (1)
    • ►  August (14)
    • ►  July (67)
Awesome Inc. theme. Theme images by molotovcoketail. Powered by Blogger.