LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-29-2006, 04:43 PM   #16
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65

I 'thought' that was the case, but it seemed in the notes that it would only build the isos, not rsync...

Thanks for the tip. And the clarification.
 
Old 07-29-2006, 04:54 PM   #17
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Now for something slightly more esoteric:

Ok. Server1 mirrors/builds the isos.

Is there a quicky way for Server2 and Server3 to sync with Server1?

Reason I ask, dd or cp chews my lan bandwidth. And I have 2 servers on my lan, (backup, you know?) and a laptop I do nfs installs with.

Thanks. Keep your towel handy.
 
Old 07-29-2006, 05:20 PM   #18
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
Quote:
Originally Posted by cwwilson721
I 'thought' that was the case, but it seemed in the notes that it would only build the isos, not rsync...
I updated the script's help text to make that clearer: http://www.slackware.com/~alien/tool...are-current.sh

Quote:
Is there a quicky way for Server2 and Server3 to sync with Server1?
I'm not sure I understand your question... is an rsync not the right tool for you? Something like
Code:
$ rsync -va -e ssh me@Server1:/path/to/slackware-current .
on Server2 and/or Server3 ? Lots of disk space wasted if you ask me, one copy would be enough and you have NFS?

Eric
 
Old 07-29-2006, 05:23 PM   #19
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Not the most reliable of 'servers'...lol. I have had controller failures, and hdd failures. Just my own paranoia.

And that is EXACTLY what I was looking for. Hate wasting bandwidth to the outside world.
 
Old 08-05-2006, 10:26 PM   #20
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
A possible improvement:

How easy or difficult would it be to have a progress bar (like in swaret or even, i think wget), so we would know it is actually doing something, or stalled?

Reason why I ask is my internet cut out in a storm and the script was still running on a different terminal. I restored the connection for the os, but the script stayed at the same place for the next two days (My bad. I forgot it was running on a different terminal)

Is it feasible?
 
Old 08-06-2006, 06:00 AM   #21
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
Quote:
Originally Posted by cwwilson721
How easy or difficult would it be to have a progress bar (like in swaret or even, i think wget), so we would know it is actually doing something, or stalled?
Try the latest version of the script at http://www.slackware.com/~alien/tool...are-current.sh

If you use the script parameter '-v' (for 'verbose') you should see progress report on all transfers.

Cheers, Eric
 
Old 08-06-2006, 06:26 AM   #22
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Sorry to make all these revisions...lol

But if it works the way I hope it does...

Actually, I'm not really sorry. I hope my questions have helped 'evolve' this nice piece of code.
 
Old 08-06-2006, 07:02 AM   #23
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
Quote:
Originally Posted by Alien Bob
I'm not sure I understand your question... is an rsync not the right tool for you? Something like
Code:
$ rsync -va -e ssh me@Server1:/path/to/slackware-current .
on Server2 and/or Server3 ? Lots of disk space wasted if you ask me, one copy would be enough and you have NFS?
Not sure if I agree. I'd like to keep a complete copy of the official mirror's slackware and slackware-current directories on my main server. This to be able to use your script to burn a current-iso at any time, and at the same time have the stable also handy.
Then, for the end-user laptops and desktops, I'd like to have only -current stored locally in the /root directory, so that it's relatively easy to do an upgradepkg whenever something interesting shows up in Pat's -current. One gigabyte give or take means nothing on relatively modern systems, at least not to me.

Thus it'd be great to have a script that on the server syncs _everything_, but on the various PCs skip KDEI, kernels, aaa* and others which I wouldn't want to use with upgradepkg --installnew */*.tgz anyway.

Doable?

-Y1
 
Old 08-09-2006, 09:28 PM   #24
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Alien:

Works like a charm. I'll let you know if I come up with anything else....lol

Keep up the good work.
 
Old 08-09-2006, 10:57 PM   #25
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Just an FYI really here, I'm using the rsync script for slack 10.2 and it's working flawlessly for me and I thank ya Eric.
 
Old 08-09-2006, 11:11 PM   #26
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Yep. It just works. Always had, just minor improvements.
 
Old 08-15-2006, 04:48 AM   #27
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
FYI I hacked the script a litle so it now understands the "-r" option. Using that commandline option you are now also able to mirror and create ISOS for another release than just -current:

Try something like
Code:
./mirror-slackware-current.sh -f -v -o DVD -r 10.2
to mirror Slackware 10.2 and create a DVD ISO image for it, while getting a lot of verbose output in the process.

Eric
 
Old 08-15-2006, 12:37 PM   #28
fcaraballo
Member
 
Registered: Feb 2004
Location: WA
Distribution: Slackware
Posts: 230

Rep: Reputation: 31
Eric, will this create a 10.2 release DVD ISO or a 10.2 with all of the updates DVD ISO? Just curious.

MagicMan

Last edited by fcaraballo; 08-15-2006 at 12:39 PM.
 
Old 08-15-2006, 04:26 PM   #29
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,111

Rep: Reputation: Disabled
Quote:
Originally Posted by MagicMan
Eric, will this create a 10.2 release DVD ISO or a 10.2 with all of the updates DVD ISO? Just curious.

MagicMan
The DVD ISO you create with the script will contain everything in the slackware-10.2 tree. That includes the /patches directory i.e. all updates to Slackware 10.2 will be available on the DVD for post-installation.

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sapphire Remote Control BOB for All In Wonder Kenne Linux - Hardware 0 03-14-2006 05:05 AM
how do i use Alien on ubuntu 5.04? kriogenic Linux - Newbie 5 02-15-2006 08:07 PM
Bob Geldof nominated for Nobel Prize J.W. General 0 07-06-2005 07:39 PM
The Cult of Bob Druaga General 31 06-20-2002 07:54 AM
Hello my name is Bob and I love AOL cinnix Linux - General 12 07-20-2001 07:30 AM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration