Re: Trying to move /usr SOLVED

2007-08-21 Thread Michael S
As I posted previously, removing /home (which defaults as a link to /usr/home) and putting it back, this time as a directory did the trick. I read it in Greg Lehey's book. Thanks for your help Derek --- Derek Ragona <[EMAIL PROTECTED]> wrote: > At 07:17 PM 8/20/2007, Michael S wrote: > >I tried

RE: Trying to move /usr

2007-08-21 Thread Lisandro Grullon
> Date: Tue, 21 Aug 2007 10:20:54 -0400> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]> CC: [EMAIL PROTECTED]; freebsd-questions@freebsd.org> Subject: > Re: Trying to move /usr> > On Mon, Aug 20, 2007 at 08:23:04PM -0400, Michael > S wrote:> > > Je

Re: Trying to move /usr

2007-08-21 Thread Derek Ragona
At 07:17 PM 8/20/2007, Michael S wrote: I tried changing the /home entry in the fstab to /usr/home, but the result is the same. And when I go to /home or /usr/home, issuing ls, simply gives me the prompt. Does the mount succeed? On the new /usr does home actually mount? -Derek Mic

Re: Trying to move /usr

2007-08-21 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 08:23:04PM -0400, Michael S wrote: > Jerry, > > I am sure, because I did it multiple times. > As soon as I mount the old /usr (the one on the > smaller drive) I log on into my home directory no > problem. What does /etc/passwd have for the id michael 's home directory? I

Re: Trying to move /usr

2007-08-21 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 10:50:09PM -0400, Vinny wrote: > Michael S wrote: > >I reverted to the old /usr. > >What I had done: > >Initially I set up the newly installed drive (da2) > >to have only one partition (da2s1d) which I chose to > >be /user (note the e). > >I tarred /usr to a file in /user >

Re: Trying to move /usr

2007-08-20 Thread Ian Smith
On Tue, 21 Aug 2007, Michael S wrote: > Thanks for your help Ian, > I got it fixed. Had to remove /home and recreate it > once again. Good to hear, Michael! > --- Ian Smith <[EMAIL PROTECTED]> wrote: [blah] Cheers, Ian ___ freebsd-questions@fre

Re: Trying to move /usr

2007-08-20 Thread Ian Smith
Michael, firstly let me quote the head of your original message, just so I/we don't get too confused, especially by all the gratuitous re-quoting of subsequent 'relative irrelevancies' like your dmesg .. >I am trying to migrate my /usr to a newly installed >SCSI drive. Up until yesterday I had /,

Re: Trying to move /usr - Fixed

2007-08-20 Thread Michael S
I was able to rectify the problem by removing /home, which was a link and was pointing to /usr/home and then recreating it as a directory. Thanks everyone for their suggestions, Michael --- Vinny <[EMAIL PROTECTED]> wrote: > Michael S wrote: > > I reverted to the old /usr. > > What I had done: >

Re: Trying to move /usr

2007-08-20 Thread Vinny
Michael S wrote: I reverted to the old /usr. What I had done: Initially I set up the newly installed drive (da2) to have only one partition (da2s1d) which I chose to be /user (note the e). I tarred /usr to a file in /user tar -cf /user/usr.tar /tar and extracted the file tar -xf usr.tar I had th

Re: Trying to move /usr

2007-08-20 Thread Michael S
Jerry, I am sure, because I did it multiple times. As soon as I mount the old /usr (the one on the smaller drive) I log on into my home directory no problem. Michael --- Jerry McAllister <[EMAIL PROTECTED]> wrote: > On Mon, Aug 20, 2007 at 07:47:29PM -0400, Michael S > wrote: > > > Right now t

Re: Trying to move /usr

2007-08-20 Thread Michael S
I tried changing the /home entry in the fstab to /usr/home, but the result is the same. And when I go to /home or /usr/home, issuing ls, simply gives me the prompt. Michael <--- Derek Ragona <[EMAIL PROTECTED]> wrote: > At 06:47 PM 8/20/2007, Michael S wrote: > >Right now things are set up the ol

Re: Trying to move /usr

2007-08-20 Thread Derek Ragona
At 06:47 PM 8/20/2007, Michael S wrote: Right now things are set up the old way and here's what the mount command says: /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1e on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1d on /var (uf

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 07:47:29PM -0400, Michael S wrote: > Right now things are set up the old way and here's > what the mount command says: > > /dev/da0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/da0s1e on /tmp (ufs, local, soft-updates) > /dev/da0s1f on /usr (ufs, local, soft-

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 07:28:51PM -0400, Michael S wrote: > Here's df -k output: > > Filesystem 1K-blocks UsedAvail Capacity > Mounted on > /dev/da0s1a50763085046 38197418%/ > devfs 110 100%/dev > /dev/da0s1e495726 10 45

Re: Trying to move /usr

2007-08-20 Thread Michael S
Right now things are set up the old way and here's what the mount command says: /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1e on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1d on /var (ufs, local, soft-updates) /dev/da1s1d on /us

Re: Trying to move /usr

2007-08-20 Thread Derek Ragona
At 06:28 PM 8/20/2007, Michael S wrote: Here's df -k output: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a50763085046 38197418%/ devfs 110 100%/dev /dev/da0s1e495726 10 456058 0%/tmp /dev/da0s1f

Re: Trying to move /usr

2007-08-20 Thread Michael S
Here's df -k output: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a50763085046 38197418%/ devfs 110 100%/dev /dev/da0s1e495726 10 456058 0%/tmp /dev/da0s1f 3733038 2869704 56469284% /use

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 06:52:12PM -0400, Michael S wrote: > I tried the earlier suggested dump/restore: > %cd /user > %dump -L -f - /usr | restore -r -f - > > When I log-in over ssh I get: > Could not chdir to home directory /home/michael: No > such file or directory. Well, is there a directory

Re: Trying to move /usr

2007-08-20 Thread Michael S
I tried the earlier suggested dump/restore: %cd /user %dump -L -f - /usr | restore -r -f - When I log-in over ssh I get: Could not chdir to home directory /home/michael: No such file or directory. Here's my fstab: # DeviceMountpoint FStype Options DumpPass# /dev/

Re: Trying to move /usr

2007-08-20 Thread Derek Ragona
At 12:37 PM 8/20/2007, Michael S wrote: I reverted to the old /usr. What I had done: Initially I set up the newly installed drive (da2) to have only one partition (da2s1d) which I chose to be /user (note the e). I tarred /usr to a file in /user tar -cf /user/usr.tar /tar and extracted the file t

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 12:08:06PM -0400, Michael S wrote: > Jerry, > > *** When I untarred the file I had everything under > /user/usr. I was under /user/usr and then I did mv * > .. > > I then edited fstab and changed > /dev/da2s1d to be /usr, instead of /user > > And of course the old /usr

RE: Trying to move /usr

2007-08-20 Thread Lisandro Grullon
This makes perfect sense, are you still having issues with your restore? > Date: Mon, 20 Aug 2007 13:37:56 -0400> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]; freebsd-questions@freebsd.org> CC: > Subject: Re: Trying to move > /usr> > I reverted to the old /usr.&g

Re: Trying to move /usr

2007-08-20 Thread Michael S
I reverted to the old /usr. What I had done: Initially I set up the newly installed drive (da2) to have only one partition (da2s1d) which I chose to be /user (note the e). I tarred /usr to a file in /user tar -cf /user/usr.tar /tar and extracted the file tar -xf usr.tar I had the whole structure o

Re: Trying to move /usr

2007-08-20 Thread [EMAIL PROTECTED]
On 20/08/07, Michael S <[EMAIL PROTECTED]> wrote: > Jerry, > > *** When I untarred the file I had everything under > /user/usr. I was under /user/usr and then I did mv * > .. > > I then edited fstab and changed > /dev/da2s1d to be /usr, instead of /user > > And of course the old /usr I switched to

Re: Trying to move /usr

2007-08-20 Thread Michael S
Jerry, *** When I untarred the file I had everything under /user/usr. I was under /user/usr and then I did mv * .. I then edited fstab and changed /dev/da2s1d to be /usr, instead of /user And of course the old /usr I switched to /user Thanks in advance --- Jerry McAllister <[EMAIL PROTECTED]>

Re: Trying to move /usr

2007-08-20 Thread Jerry McAllister
On Mon, Aug 20, 2007 at 11:10:12AM -0400, Michael S wrote: > Good morning everyone, > > I am trying to migrate my /usr to a newly installed > SCSI drive. Up until yesterday I had /, /var, /usr on > a 5 Gig drive and my /home was on another 60 Gig > drive, which was fine because it had no GUI and

Re: Trying to move /usr

2007-08-20 Thread Derek Ragona
At 10:10 AM 8/20/2007, Michael S wrote: Good morning everyone, I am trying to migrate my /usr to a newly installed SCSI drive. Up until yesterday I had /, /var, /usr on a 5 Gig drive and my /home was on another 60 Gig drive, which was fine because it had no GUI and functioned mostly as a server.

Trying to move /usr

2007-08-20 Thread Michael S
Good morning everyone, I am trying to migrate my /usr to a newly installed SCSI drive. Up until yesterday I had /, /var, /usr on a 5 Gig drive and my /home was on another 60 Gig drive, which was fine because it had no GUI and functioned mostly as a server. Last night I added a third drive, with a