Yes, tar is the preferred way, on Linux anyway. On UnixWare 7.0.1, Tar does not handle empty directories properly. Works quite nicely on RH though.
Jason ----- Original Message ----- From: "Jeremy Hughes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 6:55 AM Subject: Re: Extra Hard Disk > understood. that is basically what i told you to do. > you can use tar instead of cp. actually tar is the > perfered way. > > glad you got to the end of your line! > > ciao. > > --- Jason Dale <[EMAIL PROTECTED]> wrote: > > This is precisely what I ended up doing, and I just > > arrived > > back from doing it ;) > > > > I configured a new 80 Gig disk on the system, and > > added > > the appropriate entry into /etc/fstab. > > > > After doing a cp --recursive --preserve of the data > > onto the new mount point, I then went into > > /etc/samba/smb.conf and just changed all of the path > > > > directives to point to the new disk. Viola. > > > > I was just looking for a shortcut. You know, the > > longest distance between two points. > > > > J > > > > ----- Original Message ----- > > From: "Jeremy Hughes" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, July 07, 2003 5:50 PM > > Subject: Re: Extra Hard Disk > > > > > > > buy a larger hdd. and tar the '/company' > > directory > > > over to the new larger hard drive. use the -p > > switch > > > and it will retain file permissions. > > > then change the /etc/fstab to mount the other hard > > > drive for that mount point. ex: /dev/hdb > > > /mnt/company instead of /dev/hda /company > > > hope this is correct. > > > --- Jason Dale <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > Is there anyway to add another disk to the same > > > > 'filesystem', > > > > or, set the system up so that when diskA runs > > out of > > > > space, > > > > it can use diskB, but both must be referenced at > > the > > > > same > > > > mount point, for example '/company'? (yes, I > > know, I > > > > know). > > > > > > > > The reason for this is that this machine is > > running > > > > Samba, and I > > > > need to add extra disk space to the system > > without > > > > changing > > > > any directory references or permissions. > > > > > > > > Jason > > > > > > > > > > > > _______________________________________________ > > > > Seawolf-list mailing list > > > > [EMAIL PROTECTED] > > > > > > https://www.redhat.com/mailman/listinfo/seawolf-list > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > SBC Yahoo! DSL - Now only $29.95 per month! > > > http://sbc.yahoo.com > > > > > > > > > _______________________________________________ > > > Seawolf-list mailing list > > > [EMAIL PROTECTED] > > > > > https://www.redhat.com/mailman/listinfo/seawolf-list > > > > > > _______________________________________________ > > Seawolf-list mailing list > > [EMAIL PROTECTED] > > https://www.redhat.com/mailman/listinfo/seawolf-list > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > _______________________________________________ > Seawolf-list mailing list > [EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/seawolf-list _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/seawolf-list