Hi I am moving /opt and /export to a newly created zpool named ''dpool'' The steps I am working on might be wrong, but here is my step : I renamed /export to /export2 I renamed /opt to /opt2 I create dpool and mount it to /opt Then I create another ZFS mount point : dpool/export and mount it on /export When these /opt and /export is already attached to dpool, I moved everything from /export2 to /export, and move everything from /opt2 to /opt This Works ! But when I reboot, the system is unable to mount /opt , because the mount point is not empty ( it is indeed not empty, I move everything from /opt2 to /opt ) Then I boot off using LiveCD, forcefully mount dpool into this Live Session, and restart again. Now, the system is able to boot until login screen appears. I put in my username and password, and *BOOM*, it can''t find /export/home, because /opt is not mounted yet I can''t log in as root I really don''t know what to do. If anyone has experience in disaster like this, please let me know. Thank You, In Confusion and Desperation Han -- This message posted from opensolaris.org
On Fri, August 13, 2010 12:35, Handojo wrote:> Hi > I am moving /opt and /export to a newly created zpool named ''dpool'' > > The steps I am working on might be wrong, but here is my step : > > I renamed /export to /export2 > I renamed /opt to /opt2[...]> But when I reboot, the system is unable to mount /opt , because the mount > point is not empty ( it is indeed not empty, I move everything from /opt2 > to /opt ) > > Then I boot off using LiveCD, forcefully mount dpool into this Live > Session, and restart again.Are the old /opt and /expore still listed in your vfstab(4) file?
> Are the old /opt and /expore still listed in your > vfstab(4) file?I cant access /etc/vfstab because I can''t even log in as my username. I can''t even log in as root from the Login Screen And when I boot on using LiveCD, how can I mount my first drive that has opensolaris installed ? -- This message posted from opensolaris.org
On Fri, Aug 13, 2010 at 1:07 PM, Handojo <handoyog at yahoo.com> wrote:>> Are the old /opt and /expore still listed in your >> vfstab(4) file? > > I cant access /etc/vfstab because I can''t even log in as my username. I can''t even log in as root from the Login Screen > > And when I boot on using LiveCD, how can I mount my first drive that has opensolaris installed ?To list the zpools it can see: zpool import To import one called rpool at an alternate root: zpool import -R /mnt rpool -- Mike Gerdts http://mgerdts.blogspot.com/