Great Guide + But a Snapraid Question

Post Reply
russdyer
Member
Member
Posts: 1
Joined: February 14th, 2013, 2:10 pm

Great Guide + But a Snapraid Question

Post by russdyer »

In your scenario, where the 1st drive has a 30gb partition and the rest is used for data and you have an additional x3 2TB drives ...

Using SnapRAID, the 30gb ubuntu files partition isn't protected, correct? What would happen if that first drive died? Would you need to pop in a new one and do a total Ubuntu server install and set it up before being able to recover the data on disk1?

Thanks,
Russ
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Great Guide + But a Snapraid Question

Post by Ian »

Hi Russ and welcome to the forums. ;)

Yes, you're correct on all counts. The 30GB part of drive 1 isn't protected so if it went bang you'd need to install Ubuntu on a new drive and THEN you'd be able to recover the data part of that drive. The reason I've not protected the 30GB OS is because a). It's changing all the time (logs, cache, patches, temp files etc) and so is not ideally suited to snapraid and b). If the drive went bang and it WAS protected you'd STILL need a copy of Ubuntu to be able to recover both the 30GB OS and the data on the rest of the drive.

Ian.
ricksebak
Member
Member
Posts: 33
Joined: February 10th, 2013, 9:34 pm

Re: Great Guide + But a Snapraid Question

Post by ricksebak »

Whenever I set up a boot drive that's not going to be backed up by any secondary drive I usually set up the OS, any hardware drivers and necessary software, then boot from a clonezilla usb stick and make a backup of the drive at that point. The clonezilla backup is compressed, so if you have a 30 gig drive, you're maybe using 10 gigs for the OS and other necessary software, and clonezilla's compression will get the backup down to maybe 5 gigs. Clonezilla can store that backup on any other machine that you can SSH into (or a samba share).

Then if your 30 gig drive dies, you can put in a new blank 30 gig drive, and boot from the clonezilla usb stick and restore from your backup. It's true that your logs and packages will all be way out of date by that time, but at least you won't have to repartition and reintall the OS and all the software that you need to function from scratch. Then a quick apt-get should upgrade everything.
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Great Guide + But a Snapraid Question

Post by Ian »

Wow, I like that :clap:

Never thought of doing anything like that before. I've always taken it as a given that I'd have to start from scratch if my drive went bang.

Thanks very much :thumbup:

Ian.
Post Reply