Re: mirror
On Mon, 2004-02-02 at 06:16, [EMAIL PROTECTED] wrote: > I am interested in becoming a mirror for FreeBSD. How much bandwidth is > required/recommended? > Thanks see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
RE: mirror
Have a look here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/ Regards Didier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: lundi 2 février 2004 05:17 > To: [EMAIL PROTECTED] > Subject: mirror > > I am interested in becoming a mirror for FreeBSD. How much > bandwidth is required/recommended? > Thanks > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mirror Partition
[EMAIL PROTECTED] writes: > Hi, another HDD question: > > If you are getting a hosting center to set up a server with two HDDs, > and if the 2nd HDD has a /mirror partition the same size as the 1st > HDD, do the guys doing the install need to denote the /mirror > partition as being a particular type of partition i.e. in the same way > that swap is a particular type of partition. > > I was originally planning on simply having a normal partition called > /mirror created and left empty for a few weeks until I'd learnt more > and was able to choose between vinum, gvinum, gmirror or whatever but, > if that empty partition needs to be of a certain type, I need to let > them know. > > The key problem, as ever, is that I will only have cmd-line access to > the server. You shouldn't need to pre-label the partition. However, I would *strongly* recommend getting an extra machine to experiment with locally before depending on mirror capabilities. In particular, don't even bother setting up a mirror unless you've tested the changeover *before* you need it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror site
On 2003-03-04 14:26, adrian kok <[EMAIL PROTECTED]> wrote: > I would like to create 2 ftp sites from different regions > What is the best way to mirror each other? I'm not sure if I understand the question correctly, but you could always decide in advance which of the two sites is the "master" and periodically pull updates from the master to the secondary using any method you prefer (i.e. rsync). - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: mirror site
Dear Giorgos Thank you If I use rsync, can it run at background job? Thank you --- Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2003-03-04 14:26, adrian kok > <[EMAIL PROTECTED]> wrote: > > I would like to create 2 ftp sites from different > regions > > What is the best way to mirror each other? > > I'm not sure if I understand the question correctly, > but you could > always decide in advance which of the two sites is > the "master" and > periodically pull updates from the master to the > secondary using any > method you prefer (i.e. rsync). > > - Giorgos > ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: mirror site
On Tue, Oct 21, 2008 at 04:20:16PM -0400, Steve Eschweiler wrote: > I am very interested in any mirror site opportunities you have. Hivelocity > would be interested in providing a server(s) to FreeBSD. Please let me know > what to do from here. http://www.freebsd.org/doc/en/articles/hubs/ should have all of the necessary details, including who you should contact (not -questions). :-) -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror update
On Tue, Jul 22, 2008 at 08:57:59AM +, AN wrote: > Is there a way to get a mirror to sync up with the latest packages? No. You should _ask_ the people who maintain those mirrors to do that. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpiJ07fKgow8.pgp Description: PGP signature
Re: Mirror Freebsd - Doubts
On 29/08/2010 15:37:51, Felipe Agnelli Barbosa wrote: > I am wanting to mount a mirror, to place repositories of debian / ubuntu, > because many machines in my company update the repositories and doing so > will improve the process performance. > However, I do this in FreeBSD (with spegla, ftpmirror ...), and was > wondering if it is possible, if not I will take issue with that. > I'm new here on the list, so excuse me if the correct place to ask that is > not here. > > Grateful for the cooperation, Sure, this is certainly possible with FreeBSD. You can run a FTP mirror on it quite happily. That's the sort of thing that would work pretty well on any unixoid system to be frank, so your choice of FreeBSD might need justifying by some external criterion: "FreeBSD runs ZFS", "We get better network performance with FreeBSD" or even "I'm the sysadmin around here, and I like FreeBSD, so nyer." Check the ports for ftp mirroring programs. Both the ones you mention are available. Another approach is to use a caching proxy -- squid will do this for ftp URLs, as will apache (using mod_proxy). You can even be completely evil and set it up as a transparent proxy with a little work. The advantage of using a caching proxy is that over time it will pretty much auto-tune itself to contain the distfiles your users are interested in without your having to have any prior knowledge. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Mirror Site Requirements.
On Thu, Nov 25, 2010 at 10:21 AM, Walter Gonzalez Flores < wgonza...@gtdinternet.com> wrote: > Hello everyone!. > > I work for an ISP and we would like to be mirror site for downloads. What > are the requirements for this?. > You might consider looking at the handbook, specifically http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mirror Site Requirements.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/11/2010, at 08:27, Chris Brennan wrote: > On Thu, Nov 25, 2010 at 10:21 AM, Walter Gonzalez Flores < > wgonza...@gtdinternet.com> wrote: > >> Hello everyone!. >> >> I work for an ISP and we would like to be mirror site for downloads. What >> are the requirements for this?. More generally speaking, lots of disk in an array for good speed and muti-threaded access, a way to sync content automatically, and good network connections to the server itself. >> > > You might consider looking at the handbook, specifically > http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" William Brown pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBAgAGBQJM7uyBAAoJEHF16AnLoz6JQawQALQID91a2Zd7T6RTnOjao2vh eWz5zwWqp4ahveGDWHTHtLUD6g79HRMhcA5ABKY+SgS5h2UACnQKFRu34XJkJNR0 51Poq/ssOb4mm52StYPE1lbNXy/HDijP+0CLedgYZT5jaqp68oyazA31gSSCUjUr 3+TgX3SxmHfL9+wIzHjXYxRk70cCVii8/4Fm2Nz7r/jOg0ZSPLwRSToMJ5LCzwBW CuX2z5JyH7VTwZn9pXtaUVW+4ahJV5LjUR87bxGKh/FYCKbv7Q0Mw56XZs1FjWZR XMdBjL1W87PZSnD4/XhRjP/INrpZjMeO22jhkj/PvGHZeyz/mwRxxibYpObqjBQJ sRAnGux/g+NE4JHuFDxB0wiHyFt5Uudh4jnc70w7YHmHQUbVPwhCjpVExNhW2rPv bRFUYk6NziVT9+Qodo4LrIvXlDNCN45f2kc1yHO9xuz9mW28YndEnG8tTNcvmVe4 DJ+wOC40XsKul4Ik/JMO4/Bh6oVX/iXU9zpXPQt/vEdZbBi/SYMH3wOBSYEVRSjk rfyhKQS6byY53vHjcppr/qrF9OrP2Bl/UDYJUyCtrMPAvFxpOWrlFdK9/mZV82lz 0XArH5Z/bMVajby+iVJiuavkST2z3EzjM4y9wwt4THfsUZ8xNzoXkZ15E4oDkJzo ywQmfr40L0Gwuo1AIqFl =e0ua -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mirror of FreeBSD Ports
On Fri, Mar 17, 2006 at 06:52:49AM +1100, James D wrote: > Hi there, > > > > I would like to know if it would be possible to mirror the FreeBSD Ports on > a server in Australia, I would not require any rsync it would be set up > manually. > > > > If you could please let me know that would be great. I think there's documentation on becoming a mirror on the website. Kris pgpocEabPBwFi.pgp Description: PGP signature
Re: mirror disk across network
i don't know what's drdb, but man ggated man ggatec On Wed, 8 Oct 2008, Gian Paolo Buono wrote: Hi, do you know a metod from mirror a disk or partition across network same drdb for linux ? Bye.,., :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mirror hard disk using dd.
On Wed, Aug 04, 2004 at 10:49:26AM +0200, Livhu Tshisikule typed: > Hi, > > I installed a second harddisk on my FBSD 5.2.1 box and then use dd if=/dev/ado > of=/dev/ad1. I later removed my first disk so that I can test the second > disk. After booting it goes to single user mode and then I used fsck -y > command. I then mounted the /usr only to find that id did not copy everything > from the first disk. > > 1. I want to make an exact copy of the first disk, how can I do that. > 2. Later I want to copy what has changed to disk2 once a day. use dump(8) and restore(8) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On Mar 13, 2007, at 12:12 PM, Steve Franks wrote: Anyone made a mirror w/o destroying what's in the disk already? The atacontrol man page is less than adequate in this respect...is is even possible? Oh, yes-- it's certainly possible to create a mirror with live data, but one is advised to be cautious and have a full backup available in case of problems. With hardware-based ATA controllers like Promise, 3ware, etc, they should have a BIOS utility which you can use to create the mirror-- make sure to add the drive with valid data first, and then add the second or additional drives to the mirror set. The same approach ought to work with software-mirroring such as (g) vinum. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On Tuesday 13 March 2007 15:12, Steve Franks wrote: > Anyone made a mirror w/o destroying what's in the disk already? The > atacontrol man page is less than adequate in this respect...is is even > possible? If you want to use gmirror (which I recommend), the most conservative approach is as follows. This can probably be adapted to other mirroring techniques/software as well. Verify that your backups are up-to-date and reliable. Create a "degraded" single-member mirror on the blank disk (or a partition/slice on said disk). (gmirror label command) Make sure that the size of the disk/slice/partition is equal to or smaller than the size of the disk/slice/partition which already contains your data. Create (a) new filsystem(s) on the new mirror. (newfs and possibly bsdlabel, depending on how/if you want to break it up) Transfer your data from the existing filesystem to the new filesystem (dump/restore -- it's easier than it sounds). (Alternative: restore from the backup you created to begin with.) Verify data transfer, make relevant changes to /etc/fstab, possibly other intermediate steps. Destroy the original filesystem (possibly using dd and /dev/zero) (not strictly necessary, but wiping at least the first part of the disk/slice/partition can help avoid potential confusion (for you and the system) later.) Insert the original disk/slice/partition into your new mirro (gmirror insert command). This approach can take longer than some others (due to the transfer requirement), but the finished product is less likely to contain surprises. I have successfully used this approach to migrate several types of volumes to gmirror sets, including boot partitions. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
Anyone made a mirror w/o destroying what's in the disk already? The atacontrol man page is less than adequate in this respect...is is even possible? Oh, yes-- it's certainly possible to create a mirror with live data, but one is advised to be cautious and have a full backup available in case of problems. With hardware-based ATA controllers like Promise, 3ware, etc, they should have a BIOS utility which you can use to create the mirror-- make sure to add the drive with valid data first, and then add the second or additional drives to the mirror set. The same approach ought to work with software-mirroring such as (g) vinum. I'd add gmirror(8) to the list of software RAID solutions. Man page: http://www.freebsd.org/cgi/man.cgi?query=gmirror&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#GEOM-MIRROR Cheers, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
I get the following: #gmirror label -v -b split -s 1024 data ad0 can't store metadata on ad0: operation not permitted. Ideas? Same behavior with /dev/ad0. Does this only work with da0 disks, not sata drives? I'm logged in as root, not su. The drive is on a promise non-raid sata card (the sw raid chipset on my asus bios lost support going from 6.1 to 6.2 - something about some new method not supported by the bios according to Soren). Thanks, Steve On 3/13/07, John Nielsen <[EMAIL PROTECTED]> wrote: On Tuesday 13 March 2007 15:12, Steve Franks wrote: > Anyone made a mirror w/o destroying what's in the disk already? The > atacontrol man page is less than adequate in this respect...is is even > possible? If you want to use gmirror (which I recommend), the most conservative approach is as follows. This can probably be adapted to other mirroring techniques/software as well. Verify that your backups are up-to-date and reliable. Create a "degraded" single-member mirror on the blank disk (or a partition/slice on said disk). (gmirror label command) Make sure that the size of the disk/slice/partition is equal to or smaller than the size of the disk/slice/partition which already contains your data. Create (a) new filsystem(s) on the new mirror. (newfs and possibly bsdlabel, depending on how/if you want to break it up) Transfer your data from the existing filesystem to the new filesystem (dump/restore -- it's easier than it sounds). (Alternative: restore from the backup you created to begin with.) Verify data transfer, make relevant changes to /etc/fstab, possibly other intermediate steps. Destroy the original filesystem (possibly using dd and /dev/zero) (not strictly necessary, but wiping at least the first part of the disk/slice/partition can help avoid potential confusion (for you and the system) later.) Insert the original disk/slice/partition into your new mirro (gmirror insert command). This approach can take longer than some others (due to the transfer requirement), but the finished product is less likely to contain surprises. I have successfully used this approach to migrate several types of volumes to gmirror sets, including boot partitions. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On Friday 16 March 2007 11:18, Steve Franks wrote: > I get the following: > > #gmirror label -v -b split -s 1024 data ad0 > can't store metadata on ad0: operation not permitted. That most likely means that you currently have a filesystem on ad0 mounted. If that's the case you should be glad that the OS was smarter than you. What steps had you taken prior to this? > Ideas? Same behavior with /dev/ad0. Does this only work with da0 > disks, not sata drives? I'm logged in as root, not su. The drive is > on a promise non-raid sata card (the sw raid chipset on my asus bios > lost support going from 6.1 to 6.2 - something about some new method > not supported by the bios according to Soren). Gmirror should work with any GEOM provider, and definitely works with SATA disks. As long as your controller is supported to the point of seeing and accessing the disks connected to it the software raid support is irrelevant (that's what you're using gmirror for). JN > On 3/13/07, John Nielsen <[EMAIL PROTECTED]> wrote: > > On Tuesday 13 March 2007 15:12, Steve Franks wrote: > > > Anyone made a mirror w/o destroying what's in the disk already? The > > > atacontrol man page is less than adequate in this respect...is is even > > > possible? > > > > If you want to use gmirror (which I recommend), the most conservative > > approach is as follows. This can probably be adapted to other mirroring > > techniques/software as well. > > > > Verify that your backups are up-to-date and reliable. > > > > Create a "degraded" single-member mirror on the blank disk (or a > > partition/slice on said disk). (gmirror label command) Make sure that the > > size of the disk/slice/partition is equal to or smaller than the size of > > the disk/slice/partition which already contains your data. > > > > Create (a) new filsystem(s) on the new mirror. (newfs and possibly > > bsdlabel, depending on how/if you want to break it up) > > > > Transfer your data from the existing filesystem to the new filesystem > > (dump/restore -- it's easier than it sounds). (Alternative: restore from > > the backup you created to begin with.) > > > > Verify data transfer, make relevant changes to /etc/fstab, possibly other > > intermediate steps. > > > > Destroy the original filesystem (possibly using dd and /dev/zero) (not > > strictly necessary, but wiping at least the first part of the > > disk/slice/partition can help avoid potential confusion (for you and the > > system) later.) > > > > Insert the original disk/slice/partition into your new mirro (gmirror > > insert command). > > > > This approach can take longer than some others (due to the transfer > > requirement), but the finished product is less likely to contain > > surprises. I have successfully used this approach to migrate several > > types of volumes to gmirror sets, including boot partitions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote: On Friday 16 March 2007 11:18, Steve Franks wrote: > I get the following: > > #gmirror label -v -b split -s 1024 data ad0 > can't store metadata on ad0: operation not permitted. That most likely means that you currently have a filesystem on ad0 mounted. If that's the case you should be glad that the OS was smarter than you. What steps had you taken prior to this? It appears to say in the manpage that you can do this on a disk with an existing filesys - would you expect it to work if the disk is unmounted first, then? Steve man gmirror: "Create a mirror on disk with valid data (note that the last sector of the disk will be overwritten). Add another disk to this mirror, so it will be synchronized with existing disk: gmirror label -v -b round-robin data da0 gmirror insert data da1 " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On Friday 16 March 2007 15:48, Steve Franks wrote: > On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote: > > On Friday 16 March 2007 11:18, Steve Franks wrote: > > > I get the following: > > > > > > #gmirror label -v -b split -s 1024 data ad0 > > > can't store metadata on ad0: operation not permitted. > > > > That most likely means that you currently have a filesystem on ad0 > > mounted. If that's the case you should be glad that the OS was smarter > > than you. What steps had you taken prior to this? > > It appears to say in the manpage that you can do this on a disk with > an existing filesys - would you expect it to work if the disk is > unmounted first, then? > > Steve > > man gmirror: > "Create a mirror on disk with valid data (note that the last sector of the > disk will be overwritten). Add another disk to this mirror, so it > will be synchronized with existing disk: > > gmirror label -v -b round-robin data da0 > gmirror insert data da1 > " I would expect it to, yes. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror without destroying existing contents
On Friday 16 March 2007 21:48, Steve Franks wrote: > On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote: > > On Friday 16 March 2007 11:18, Steve Franks wrote: > > > I get the following: > > > > > > #gmirror label -v -b split -s 1024 data ad0 > > > can't store metadata on ad0: operation not permitted. > > > > That most likely means that you currently have a filesystem on ad0 > > mounted. If that's the case you should be glad that the OS was smarter > > than you. What steps had you taken prior to this? > > It appears to say in the manpage that you can do this on a disk with > an existing filesys - would you expect it to work if the disk is > unmounted first, then? The way to do this is potentially a little risky but I haven't had a problem with it yet after setting up several mirrors on live fileservers. There is a sysctl called kern.geom.debugflags: if you set this to 16 it will allow you to change the mounted filesystem. Bear in mind that since the metadata for the mirror is written to the last sector of the disk, there is a small risk of data loss: if that sector contains data it will be overwritten. There's a thorough howto by Ralph Engelschall, and an OnLamp article by Dru Lavigne, with more details: http://people.freebsd.org/~rse/mirror/ http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mirror remote web server, no ftp, how?
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed: > I will be sending my web server out to be co-located, and keeping a second > box here > in my office. I want to be able to make this local box a mirror of the > live box. I don't > want/need ftp running on these boxes. I have a third box for development, > then upload > the new files to the live box. The local box is strictly a > duplicate/backup of the live box. > I do use ssh and access them using scp and putty. I would like this to run > on a daily > basis. Any ready-made apps available to do this? I didn't see anything in > the ports. ftp/wget will mirror sites with either ftp or http. Might I suggest you change your methodology, and use your local box as a "test" box that you then push to the co-located box when you deem things ready. You can do the push with rsync or similar tools. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: mirror remote web server, no ftp, how?
> I will be sending my web server out to be co-located, and keeping a second > box here > in my office. I want to be able to make this local box a mirror of the rsync .. setup SSH with RSA or DSA authentication, use passphrase-less keys (or ssh-agent or something) and do something like (from remote web server) rsync -e ssh -av /path/to/files remote_server:/path/to/files use -avn instead of -av to have rsync show what it would do without actually doing it. of course if possible I reccomend transferring all files as a non root user in both cases, my last company I had seperate accounts for ftp synch and www synch. nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
negative free blocks after mirror! [was: Re: mirror without destroying existing contents]
On 3/17/07, Jonathan McKeown <[EMAIL PROTECTED]> wrote: On Friday 16 March 2007 21:48, Steve Franks wrote: > On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote: > > On Friday 16 March 2007 11:18, Steve Franks wrote: > > > I get the following: > > > > > > #gmirror label -v -b split -s 1024 data ad0 > > > can't store metadata on ad0: operation not permitted. > > > > That most likely means that you currently have a filesystem on ad0 > > mounted. If that's the case you should be glad that the OS was smarter > > than you. What steps had you taken prior to this? > > It appears to say in the manpage that you can do this on a disk with > an existing filesys - would you expect it to work if the disk is > unmounted first, then? The way to do this is potentially a little risky but I haven't had a problem with it yet after setting up several mirrors on live fileservers. There is a sysctl called kern.geom.debugflags: if you set this to 16 it will allow you to change the mounted filesystem. Bear in mind that since the metadata for the mirror is written to the last sector of the disk, there is a small risk of data loss: if that sector contains data it will be overwritten. There's a thorough howto by Ralph Engelschall, and an OnLamp article by Dru Lavigne, with more details: http://people.freebsd.org/~rse/mirror/ http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Jonathan Yes, the origonal disk was pretty full, but, I suspect this is not a good thing: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a507630 9525437176620%/ devfs 1 1 0 100%/dev /dev/ad0s1e507630 30688436332 7%/tmp /dev/ad0s1f 152451398 5956408 134298880 4%/usr /dev/ad0s1d 1444526103600 1225364 8%/var /dev/mirror/rainstones1 151368706 141135278 -1876068 101%/rainstone How is that even possible? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: negative free blocks after mirror! [was: Re: mirror without destroying existing contents]
On Monday 19 March 2007 10:46, Steve Franks wrote: > Yes, the origonal disk was pretty full, but, I suspect this is not a good > thing: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a507630 9525437176620%/ > devfs 1 1 0 100%/dev > /dev/ad0s1e507630 30688436332 7%/tmp > /dev/ad0s1f 152451398 5956408 134298880 4%/usr > /dev/ad0s1d 1444526103600 1225364 8%/var > /dev/mirror/rainstones1 151368706 141135278 -1876068 101%/rainstone > > How is that even possible? This is a FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL Not really related to gmirror. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mirror mounts not available on FreeBSD? (was: Re: NFSv4 shows all ZFS filesystems as being owned by root)
On Tue, Aug 31, 2010 at 12:20 PM, David Brodbeck wrote: > On Tue, Aug 31, 2010 at 11:52 AM, David Brodbeck wrote: >> When a ZFS filesystem mountpoint is owned by someone other than root, >> this is not depicted properly on NFSv4 clients: > > After playing around a bit more, it appears the problem is that ZFS > filesystems under an NFSv4 mountpoint are not auto-mounted by Linux > clients of a FreeBSD server the way they are when they're clients of > an OpenSolaris server; if I mount them manually, the ownership is > correct. I think OpenSolaris calls this functionality "mirror > mounts." Is there a way to get mirror mounts to work on FreeBSD, or > is it necessary to mount every sub-filesystem manually? The answer is I didn't RTFM carefully enough, and forgot to specify 'nfsd_flags="-e"' and 'mountd_flags="-e"' in my /etc/rc.conf. It's working now. Sorry for the unnecessary thread, but hopefully it'll help someone else searching for the same info in the future. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"