Re: Disk usage error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>   Thanks Will,
>        I have fixed this now to automount the USB drive, which is better
> because it means the backup is made.
>   Thanks anyway,
>        Bill
>
> On Wed, 2010-02-10 at 15:17 -0500, aragonx@xxxxxxxxxx wrote:
>> >    * I did not regard and of the /media/XXXX directories as part of /
>> so
>> > missed it.
>> >
>> > So now I better fix the mounting of USB drives with /etc/fstab,
>>
>> Hi Bill,
>>
>> I created a label for my backup device/partition.  Then I wrote this
>> into
>> my backup script:
>>
>> mount -L Backup /home/data/backup
>> RETURN=`mount|grep /home/data/backup|wc -l`
>> if [ $RETURN -ne 1 ]
>> then
>>     logger "Backup failed due to unmounted backup device."
>>     exit 1
>> fi

Hi Bill,

Maybe I'm paranoid but I don't want to have my backup device mounted all
the time.  So I only mount it when I need to write to it.  In that way, if
I do something stupid like run an unlimited search or delete, the backup
device will not be affected.

My next thought was to put the drive to sleep right after I unmount it. 
Has anyone done that with something like:

hdparm -Y /dev/sd{x}

I'm hoping to be a little green, reduce wear on the drive (extend the
life) and protect my data all at the same time.

Is this a good or bad idea?

---
Will Y.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux