Moving Jails Between Zpools

Status
Not open for further replies.

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
Since this is usually how it happens for me, I got everything set up just the way I want it...and now I decide to change something. I currently have my jails setup on a striped set of 2x74 GB WD Raptors. Since they're loud, consume a lot of power, and get pretty hot, I decided to replace them with a 128 GB Crucial M4 SSD that I had in my PC housing Linux (which will now go on the 500 GB Samsung 840 Pro SSD, along with Windows).

I created the zpool on the SSD and created a dataset called "Jails", stopped all my jails and then proceeded to copy everything from one dataset to the other. Once it was completed, I changed the location of the jails from /mnt/Jails to /mnt/SSD/Jails and then it said "No Jails Found". Is there something else I have to do to get it to detect them?
 

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
Seems my problem was that it didn't copy any of the dot files, once I copied all of them it showed all my plugins. It seems to have affected the permissions on at least one of my jails (basic install of FreeBSD)

Code:
 [bran@Usenet ~] tail /var/log/messages
Jan 13 11:03:10 Usenet root: /etc/rc.shutdown: WARNING: $command_interpreter /usr/local/bin/python != python
Jan 13 11:03:20 Usenet syslogd: exiting on signal 15
Jan 13 11:23:38 Usenet syslogd: kernel boot file is /boot/kernel/kernel
Jan 13 11:23:55 Usenet root: /etc/rc: WARNING: failed to start couchpotato
Jan 13 11:36:28 Usenet root: /etc/rc.shutdown: WARNING: $command_interpreter /usr/local/bin/python != python
Jan 13 11:36:39 Usenet syslogd: exiting on signal 15
Jan 13 12:40:08 Usenet syslogd: kernel boot file is /boot/kernel/kernel
Jan 13 12:40:14 Usenet root: /etc/rc: WARNING: failed to start sickbeard
Jan 13 12:40:18 Usenet root: /etc/rc: WARNING: failed to start sabnzbd
Jan 13 12:40:18 Usenet root: /etc/rc: WARNING: failed to start couchpotato
 [bran@Usenet ~] sudo nano /etc/rc.conf
sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set


 [bran@Usenet ~] ls -l /usr/local/bin|grep sudo
-rwxr-xr-x  1 root  wheel   109064 Jan 13 11:42 sudo
lrwxr-xr-x  1 root  wheel        4 Jan 13 11:42 sudoedit -> sudo
-rwxr-xr-x  1 root  wheel    48992 Jan 13 11:42 sudoreplay
 [bran@Usenet ~] su
su: not running setuid


[bran@Usenet ~] sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set
 

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
I resolved those issues and more permission problems seemed to pop up. I'm going to try and copy again with rsync and see if I can preserve the permission better and if not, I'll just reinstall them all.
 
Status
Not open for further replies.
Top