Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
now on the new sol10 box, to restore i use this commands:
cd /u1
/usr/sbin/ufsrestore rfsvy /dev/rmt/0 1
rm /u1/restoresymtable
cd /u2
/usr/sbin/ufsrestore rfsvy /dev/rmt/0 2
rm /u2/restoresymtable
cd /u3
/usr/sbin/ufsrestore rfsvy /dev/rmt/0 3
rm /u3/restoresymtable
cd /u4
/usr/sbin/ufsrestore rfsvy /dev/rmt/0 4
rm /u4/restoresymtable
the reason i do the above restore commands like that is because i don't have enough space plus ufsrestore only does a relative restore therefore i want it to change to the actual destination directory before restoring.
the directories have different sizes:
/u1 - 35GB
/u2 - 48GB
/u3 - 97GB
/u4 - 150GB
/u1 contains the Oracle binary executables (and maybe some other Oracle related files) while the other directories contain data.
my concern is, why is /u1 taking so long to restore? in fact, /u4 restored in less than 30 minutes while /u1 is taking far longer than that! am i using the wrong restore options that is causing this?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
There is no particular reason for /u1 to take much more time than the others according to the information you posted. You should investigate deeper (logs, truss, ...) to understand what ufsdump is precisely doing during this time.
i figured out the problem last Friday. it was due to a bad superblock (bad sector in doze speak). this causes the restore to slow down dramatically on the filesystem in question.
so i nuked "/u1" filesystem and did a newfs on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.