The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
no VTOC problem mansoorulhaq SUN Solaris 2 10-22-2007 07:24 AM
Backing up the system eykyn17 SUN Solaris 6 03-28-2007 08:49 AM
To display VTOC information gold4u Shell Programming and Scripting 1 11-02-2004 01:52 PM
Backing Up Directories indigoecho UNIX for Dummies Questions & Answers 2 12-17-2003 03:42 PM
backing up merlin UNIX for Dummies Questions & Answers 4 09-09-2001 01:35 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-22-2005
Registered User
 

Join Date: Feb 2005
Posts: 137
backing up the vtoc

Can you backup the vtoc, then restore it if you somehow mess it up?
This is solaris 9, x86.
Reply With Quote
Forum Sponsor
  #2  
Old 12-22-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Yes indeed - see the manual pages for prtvtoc and fmthard. Use prtvtoc to take a backup of your vtoc - and then use fmthard when you need to restore it.

e.g. (on intel)

prtvtoc /dev/rdsk/c0d0s2 > /some/file

then

fmthard -s /some/file /dev/rdsk/c1d0s2

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0