FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 09-29-2011, 01:20 PM
Richard Shaw
 
Default School me on server hard drive management. (Hot swap, SATA channels, LVM, backup, etc.)

On Wed, Sep 28, 2011 at 11:26 PM, linux guy <linuxguy123@gmail.com> wrote:
> 4) How should I approach data backup ?* Right now I have about 250 GB of
> nearly irreplaceable digital images.* RAID ?* Periodic backup to a (rotated,
> stored off site) hard drive via the hot swap slot in the case ?

My method is more complicated than most but probably less than some.

I run BackupPC on my desktop which backs up all the pictures and music
on my MythTV box as well as my wife's entire home directory. I also
backup my Documents directory (The backup data is stored on my system
drive and I use a dedicated home drive). At least that helps in case
of a single drive failure.

Then I have an external firewire drive I power on only for archiving
all of my backups about every 1-2 months and then twice a year I burn
all the critical stuff to DVD.

I also use SpiderOak as my "off site" backup of critical files since
they have a pretty nice linux client and 2GB free access.

Richard
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 01:31 PM
linux guy
 
Default School me on server hard drive management. (Hot swap, SATA channels, LVM, backup, etc.)

On Thu, Sep 29, 2011 at 5:45 AM, Genes MailLists <lists@sapience.com> wrote:

On 09/29/2011 12:26 AM, linux guy wrote:

> I'm building a home server that will run a MythTV backend, zoneminder



...



>

> Questions



>

> 3) How does one mount the drives for the OS to access ? *I know all

> about the mount command and auto mounting, etc, but how do I reference

> the drives ?



*mount the drives by UUID or by Label - just like fedora installer does.

I saw it did that.* Pretty neat.
*

*Use the 'e2label' command to label a disk and simply put something

like this in your fstab (for example)



*LABEL=MythBackup /mnt/mythback ...

Excellent.* That is exactly what I am looking for.* Thanks.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-29-2011, 01:46 PM
linux guy
 
Default School me on server hard drive management. (Hot swap, SATA channels, LVM, backup, etc.)

Mount point management.

Is there an easy was to know if a disk is mounted and act accordingly or prevent data from being written to a mountpoint ?* Or to have the mount point disappear when its not mounted ?


Example

Lets say I create a mount point /home/me/myth and that /home/me resides on /dev/sda3.

Lets say that a disk labelled MYTH normally gets mounted there.* But lets say that someone accidentally unplugs the MYTH disk and thus nothing is mounted.* Lets say the myth backend starts recording and in the process writing data to /home/me/myth. * If MYTH isn't mounted there, then that data is going to get written to the mount point dir, ie /dev/sda3.


Is there any way to prevent that ?

Or how about this ?

Lets say I create a disk labelled IMAGE_BACKUP. * Lets say fstab mounts it to /home/me/image_backup.* Lets say that I want cron to copy all the files from /home/me/images to IMAGE_BACKUP at midnight when its mounted. How does cron know that IMAGE_BACKUP is mounted to /home/me/image_backup so it doesn't write data to /dev/sda3 ?* Ditto for rsync ?


Thanks

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 09-30-2011, 07:36 AM
David
 
Default School me on server hard drive management. (Hot swap, SATA channels, LVM, backup, etc.)

On 29 September 2011 23:46, linux guy <linuxguy123@gmail.com> wrote:
>
> Is there an easy was to know if a disk is mounted and act accordingly or
> prevent data from being written to a mountpoint ?

Here is how I prevent data accidentally being written to a unmounted
mountpoint. You must first ensure that "/example/mountpoint" is an
empty directory. Then

chattr -V +i /example/mountpoint

so for your example: chattr -V +i /home/me/myth

I started doing this for all my mountpoints after I read about the
immutable bit. See:

man chattr

Re detecting if a disk is mounted, in older versions of fedora, the
package sysvinit-tools provided the 'inmountpoint' command which
implements this. Try:

man mountpoint

to see if it is available on your system.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 08:09 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org