Hey y'all http://systemimager.org
Systemimager works well to image a hard disk and to move the image to an another hard disk. I believe it handles LVM well and can handle RAID too. My backup server runs debian + systemimager. It is reliable so I sleep well. Check it out. It is a killer app! David On Thu, 2010-04-01 at 12:00 +1100, slug-requ...@slug.org.au wrote: > Send slug mailing list submissions to > slug@slug.org.au > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.slug.org.au/listinfo/slug > or, via email, send a message with subject or body 'help' to > slug-requ...@slug.org.au > > You can reach the person managing the list at > slug-ow...@slug.org.au > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of slug digest..." > Today's Topics: > > 1. Moving hard drives and data around (Nigel Allen) > 2. Re: Moving hard drives and data around (Nick Andrew) > 3. Re: Moving hard drives and data around (Jake Anderson) > 4. Re: Moving hard drives and data around (david) > 5. Re: Moving hard drives and data around (Jake Anderson) > 6. Re: Moving hard drives and data around (Nick Andrew) > 7. Re: Moving hard drives and data around (Nick Andrew) > 8. Surveillance camera in car (Jim Donovan) > 9. Re: Moving hard drives and data around (DaZZa) > email message attachment > > -------- Forwarded Message -------- > > From: Nigel Allen <d...@edrs.com.au> > > To: slug@slug.org.au > > Subject: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 14:18:39 +1100 > > > > Hi All > > > > Apologies for the repost - I asked this a while ago but there is now an > > additional wrinkle^H^H^H^H^H^H^Hopportunity. > > > > I have to do a hard-drive shuffle in the coming weeks. > > > > The machine is a HP DL145 G3 which only has interfaces for 2 x hdd's. > > The current disks are 2 x 80GB set up as /boot on /dev/sda1 and (sda2 > > plus sdb1) are pooled together to make up /dev/VolGroup00/LogVol00. They > > are running at 97% full. > > > > I'm about to replace the 2 x 80GB drives with 2 x 1TB drives which > > should keep the customer going for a while. > > > > Given that I can't attach all 4 hdds to the system at the same time, I > > have plugged in a WD USB drive (1.5TB) so that we have a transfer > > mechanism (as well as a second backup online in addition to the tape > > backup). > > > > I would like to have the 2 new disks in a RAID-1 array to give them a > > little redundancy. > > > > What is the easiest way to get from where I am (2 x 80GB as /boot and a > > log vol) to where I want to be (a pair of mirrored drives). > > > > My first thought was simpy to backup everything to the USB connected > > drive, rip out the 2 x 80GB and replace them with the 2 x 1TB drives. > > Set up the disks as a RAID 1 array. Do a partial install of the OS and > > then simply copy everything back where it was. > > > > I'm sure there is a better way than this sledgehammer approach, probably > > involving LVM but given my unfamiliarity with LVM I thought I should ask > > first. > > > > TIA > > > > Nigel. > > > > > > > > > email message attachment > > -------- Forwarded Message -------- > > From: Nick Andrew <n...@nick-andrew.net> > > To: Nigel Allen <d...@edrs.com.au> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 15:50:06 +1100 > > > > On Wed, Mar 31, 2010 at 02:18:39PM +1100, Nigel Allen wrote: > > > The machine is a HP DL145 G3 which only has interfaces for 2 x hdd's. > > > The current disks are 2 x 80GB set up as /boot on /dev/sda1 and (sda2 > > > plus sdb1) are pooled together to make up /dev/VolGroup00/LogVol00. They > > > are running at 97% full. > > > > Only 160 gigs, hmmm. > > > > > I'm about to replace the 2 x 80GB drives with 2 x 1TB drives which > > > should keep the customer going for a while. > > > > > > Given that I can't attach all 4 hdds to the system at the same time, I > > > have plugged in a WD USB drive (1.5TB) so that we have a transfer > > > mechanism (as well as a second backup online in addition to the tape > > > backup). > > > > > > I would like to have the 2 new disks in a RAID-1 array to give them a > > > little redundancy. > > > > Grub2 is good for that (1.97+whatever). > > > > > What is the easiest way to get from where I am (2 x 80GB as /boot and a > > > log vol) to where I want to be (a pair of mirrored drives). > > > > > > My first thought was simpy to backup everything to the USB connected > > > drive, rip out the 2 x 80GB and replace them with the 2 x 1TB drives. > > > Set up the disks as a RAID 1 array. Do a partial install of the OS and > > > then simply copy everything back where it was. > > > > > > I'm sure there is a better way than this sledgehammer approach, probably > > > involving LVM but given my unfamiliarity with LVM I thought I should ask > > > first. > > > > You can use pvmove to move the physical extents on LogVol00 from one > > physical drive to another, but (1) it takes a long time and (2) you > > have no redundancy while you are doing it. I've done it and sometimes > > it's the best option. > > > > Also USB connected drives are not as reliable as IDE/SATA - I have > > found the interface can somehow overload and the device becomes unusable > > until unplugged/replugged. So I would never use pvmove to move an active > > filesystem from a directly connected disk to a USB-connected disk. > > > > In your situation I would: > > > > - copy the filesystems to USB > > - format+RAID1 the two new drives how you like it on another computer > > - copy the filesystem from USB to the new drives on another computer > > - swap new drives for old > > - make the new drives boot on the target computer > > > > This setup makes sure you always have a working system to fall back > > to (the original drives) or a backup (USB 1.5T). > > > > Also if you can't get both new drives onto another computer at one time, > > you can format one drive and create a RAID1 array with a missing device; > > copy your data onto one disk, and when you put both drives into the target > > machine you hot-add the 2nd disk to the array and it will sync up all > > your data automatically. > > > > Finally for about $35 you can buy USB adapters for SATA + IDE so you can > > plug one of your new drives into the target computer and bypass the 1.5T > > backup drive. > > > > Nick. > > > email message attachment > > -------- Forwarded Message -------- > > From: Jake Anderson <ya...@vapourforge.com> > > To: Nigel Allen <d...@edrs.com.au> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 16:27:26 +1100 > > > > Nigel Allen wrote: > > > > > > Hi All > > > > > > Apologies for the repost - I asked this a while ago but there is now > > > an additional wrinkle^H^H^H^H^H^H^Hopportunity. > > > > > > I have to do a hard-drive shuffle in the coming weeks. > > > > > > The machine is a HP DL145 G3 which only has interfaces for 2 x hdd's. > > > The current disks are 2 x 80GB set up as /boot on /dev/sda1 and (sda2 > > > plus sdb1) are pooled together to make up /dev/VolGroup00/LogVol00. > > > They are running at 97% full. > > > > > > I'm about to replace the 2 x 80GB drives with 2 x 1TB drives which > > > should keep the customer going for a while. > > > > > > Given that I can't attach all 4 hdds to the system at the same time, > > > I have plugged in a WD USB drive (1.5TB) so that we have a transfer > > > mechanism (as well as a second backup online in addition to the tape > > > backup). > > > > > > I would like to have the 2 new disks in a RAID-1 array to give them a > > > little redundancy. > > > > > > What is the easiest way to get from where I am (2 x 80GB as /boot and > > > a log vol) to where I want to be (a pair of mirrored drives). > > > > > > My first thought was simpy to backup everything to the USB connected > > > drive, rip out the 2 x 80GB and replace them with the 2 x 1TB drives. > > > Set up the disks as a RAID 1 array. Do a partial install of the OS and > > > then simply copy everything back where it was. > > > > > > I'm sure there is a better way than this sledgehammer approach, > > > probably involving LVM but given my unfamiliarity with LVM I thought I > > > should ask first. > > > > > > TIA > > > > > > Nigel. > > > > > > > > > > > Personally I'd create a degraded raid 1 array, DD the whole system onto > > it then expand it to fill the space. > > Assuming the mdadm on the machine is modern it should pick everything up > > and go from there with no changes to the host OS. > > There might be some fenangling to tell mdadm its ok to run the array in > > a new machine or something like that. > > > > 2 reasons for starting with the degraded array, > > 1, your mainly limited by the USB transfer rate so your only going > > to hit 25mbytes /sec max rather than the ~80+ you should be seeing. > > 2, the USB bandwidth is probably going to be shared on the 2 ports > > on the back of the machine, so if you try and run the full array its > > going to take twice as long. > > Your looking at around 2-3 hours to do the transfer this way (the > > degraded array). > > > > Your other option is to setup the raid array in another machine, as a > > full array. (that's going to take HOURS btw, it has to synch the 2 > > disks, copying all the 0's over ;->) > > Then once the array is healthy power down the other machine, stick > > the disks into the temp machine and DD away, should take around 30 > > minutes. While your in the other machine you can expand the volumes and > > file systems as well if that needs to be done offline, otherwise power > > up on the new drives and expand them online. > > > > > email message attachment > > -------- Forwarded Message -------- > > From: david <da...@kenpro.com.au> > > To: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 16:42:12 +1100 > > > > > > Nick Andrew wrote: > > > On Wed, Mar 31, 2010 at 02:18:39PM +1100, Nigel Allen wrote: > > > > <snip> > > > > > Finally for about $35 you can buy USB adapters for SATA + IDE so you can > > > plug one of your new drives into the target computer and bypass the 1.5T > > > backup drive. > > > > > > Nick. > > > > Sorry for slightly hijacking the thread.. but my experience of these > > gadgets has been universally bad (read: didn't work at all). Have they > > improved in the last year or so? > > > email message attachment > > -------- Forwarded Message -------- > > From: Jake Anderson <ya...@vapourforge.com> > > To: david <da...@kenpro.com.au> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 16:47:54 +1100 > > > > david wrote: > > > > > > > > > Nick Andrew wrote: > > >> On Wed, Mar 31, 2010 at 02:18:39PM +1100, Nigel Allen wrote: > > > > > > <snip> > > > > > >> Finally for about $35 you can buy USB adapters for SATA + IDE so you can > > >> plug one of your new drives into the target computer and bypass the 1.5T > > >> backup drive. > > >> > > >> Nick. > > > > > > Sorry for slightly hijacking the thread.. but my experience of these > > > gadgets has been universally bad (read: didn't work at all). Have they > > > improved in the last year or so? > > I have one, I wouldn't class it as "good" but it seems to work. > > the "dock" style ones I've heard good things about > > > email message attachment > > -------- Forwarded Message -------- > > From: Nick Andrew <n...@nick-andrew.net> > > To: david <da...@kenpro.com.au> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 21:33:30 +1100 > > > > On Wed, Mar 31, 2010 at 04:42:12PM +1100, david wrote: > > > Sorry for slightly hijacking the thread.. but my experience of these > > > gadgets has been universally bad (read: didn't work at all). Have they > > > improved in the last year or so? > > > > I have one which is a rectangle with connectors on all 4 sides - one > > for USB, one for SATA, one for IDE 3.5" and the last for IDE 2.5". > > It works but it's not marvelous. My impression is that heavy data > > transfers(*) can kill it. > > > > (*) Like copying a large filesystem which saturates the USB bus for > > many minutes. > > > > Also doing silly things like "hdparm" can break it immediately. > > > > Nick. > > > email message attachment > > -------- Forwarded Message -------- > > From: Nick Andrew <n...@nick-andrew.net> > > To: Jake Anderson <ya...@vapourforge.com> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Wed, 31 Mar 2010 21:39:22 +1100 > > > > On Wed, Mar 31, 2010 at 04:47:54PM +1100, Jake Anderson wrote: > > > I have one, I wouldn't class it as "good" but it seems to work. > > > the "dock" style ones I've heard good things about > > > > I have a dock style one with eSATA connectors. The eSATA interface is > > good because it isn't USB-HDD, and is a lot faster than USB. The dock > > also provides various SD/SIM/MicroSD sockets but they haven't yet worked > > for me. > > > > However, the dock doesn't put any airflow over the disk and so it heats > > up way too hot after a few minutes. I pointed a small fan at it; kept it > > at a nice stable temperature. > > > > Nick. > > > email message attachment > > -------- Forwarded Message -------- > > From: Jim Donovan <j...@aptnsw.org.au> > > To: slug@slug.org.au > > Subject: [SLUG] Surveillance camera in car > > Date: Wed, 31 Mar 2010 20:53:30 +1100 > > > > Having been the target of a road-rage attack recently (driver behind > > chucked a rock at me) I can see the value of having front and rear cameras > > recording. They're actually pretty affordable these days (see > > http://www.etronixmart.com/vosonic-gv6330-vehicle-safeguard-night-vision-car-video-camera-p-516.html?osCsid=a075cabb7bdc23a203f9e79fbc0dcc78 > > ). However I was thinking of something more durable: > > > > * front camera mounted on the driver's sunshade, able to be aimed by hand > > if desired > > > > * rear camera on the parcels shelf, protected from overhead sunshine > > > > * single-board computer somewhere, receiving the pix, cropping them and > > recording them onto a 80GiB disc drive > > > > * little screen visible to the driver, usually showing the rear view [handy > > for parking] > > > > * some sort of control switch for e.g. temporarily increasing the normal > > recording rate from 1 frame/second to perhaps 4 frames/second if the driver > > desires > > > > > > The TS-7250 looks suitable > > (http://www.embeddedarm.com/products/board-detail.php?product=TS-7250) but > > the only cameras I've found have composite video output e.g. Jaycar's > > QC3491. > > > > Can anyone suggest hardware suitable for such a setup, please? > > > > Jim Donovan > > > email message attachment > > -------- Forwarded Message -------- > > From: DaZZa <dagi...@gmail.com> > > To: david <da...@kenpro.com.au> > > Cc: slug@slug.org.au > > Subject: Re: [SLUG] Moving hard drives and data around > > Date: Thu, 1 Apr 2010 08:06:12 +1100 > > > > On Wed, Mar 31, 2010 at 4:42 PM, david <da...@kenpro.com.au> wrote: > > >> Finally for about $35 you can buy USB adapters for SATA + IDE so you can > > >> plug one of your new drives into the target computer and bypass the 1.5T > > >> backup drive. > > > > > > Sorry for slightly hijacking the thread.. but my experience of these > > > gadgets > > > has been universally bad (read: didn't work at all). Have they improved in > > > the last year or so? > > > > I had one I used at my previous place of employment which we bought > > from Lindy - and it worked flawlessly - plug into HD, plug in power, > > plug into USB - bingo, external hard disk. PATA, SATA, even laptop > > drives - no difference. > > > > I used it frequently for quick data recovery jobs (from dead PC's > > without damage to the disk, for example) and for moving data around. I > > think the most data I moved using it was somewhere around the 280 gig > > mark. > > > > https://www.lindy.com.au/online/arrshop.exe?anonymous=true&cat=f0 > > > > It's a bit more than $35 ($60 plus shipping) but I know from > > experience they work. Comes with power supply for the drive as well as > > the USB adapter. > > > > N.B. I must admit I only ever used it with WindoZe machines, not Linux > > boxen. The specifications say it's only compatible with 'Doze and Mac > > machines. but I see no reason why they wouldn't work with Linux > > machines as well. > > > > DaZZa > > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html