DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th July 2008
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Thanked 0 Times in 0 Posts
Default moving freebsd install to new drive

Hello, ok i may need to move my freebsd server to larger disk/raid array.

It is currently sitting on raid5 via adaptec controller on poweredge 1650, i have read couple of guides but these are related to single drives systems where i can add another drive can be added, the copy done with ufsdump/ufrestore.


Although i am new to FreeBSD and use it on my server,, my desktop id Gentoo and if need to move system to larger or new drives i use either clonezilla or a stage4 script found here:

http://blinkeye.ch/mediawiki/index.p...t_%28stage4%29

Clonezilla is good and will resize a file system on restore but i only want one partition/slice bigger as happy with rest.

That said don't believe it supports UFS

The stage4 script is specifically for gentoo and can backup live system to tar, it removes cruft such as portage/dist files and has option to include exclude dirs.

Using gentoo install cd, you just recreate partitions and untar the stage4 tar as you would standard stage3, install grub and you back online.

I use it a lot to create base installs for quick deployment.

Question is, is there some similar for FreeBSD that would allow backup of live system and quick restore to new system or drives?

cheers
Reply With Quote
  #2   (View Single Post)  
Old 7th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

How big is the existing array / drive?
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 7th July 2008
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by phoenix View Post
How big is the existing array / drive?
It is 3x18gb drives in raid5, this are 15k scsi drives on adaptec raid controller.
Reply With Quote
  #4   (View Single Post)  
Old 7th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

Is this the same FreeBSD system as with the time/securelevel problem?
Depending on your situation/available time you may want to consider just reinstalling from scratch rather than moving this installation, because it looks pretty messy ... Who knows what other surprises lurk in the dark...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 7th July 2008
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Is this the same FreeBSD system as with the time/securelevel problem?
Depending on your situation/available time you may want to consider just reinstalling from scratch rather than moving this installation, because it looks pretty messy ... Who knows what other surprises lurk in the dark...
Not an option at the moment as this a live web server and downtime must be kept to minimum.
Reply With Quote
  #6   (View Single Post)  
Old 9th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Well, I had a nice long, step-by-step post covering dar and rsync, but between a "you must login" hoop-jumping session, and a java lockup in another window, firefox ate it.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 9th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I've generally found it best to compose longer messages in a text editor and copy and paste them over. It can really, really save on those occasional browser crashes and human errors.


I usually use vim along with :set spell tw=0 wrap
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 7th August 2008
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by phoenix View Post
Well, I had a nice long, step-by-step post covering dar and rsync, but between a "you must login" hoop-jumping session, and a java lockup in another window, firefox ate it.

If you ever get around to posting this i would be interested to read this method.

cheers
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
which Flash Drive I must buy for FreeBSD and OpenBSD mfaridi General Hardware 18 22nd October 2008 07:43 PM
FreeBSD 7.0 hangs with USB disk drive. map7 FreeBSD General 7 9th August 2008 03:02 AM
Moving FreeBSD to new PC? cwhitmore FreeBSD General 23 22nd July 2008 02:59 PM
Boot freeBSD from USB drive? s25 FreeBSD General 9 17th June 2008 07:47 AM
FreeBSD 7.0 hard drive problems. Errinok FreeBSD Installation and Upgrading 8 13th June 2008 03:24 PM


All times are GMT. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick