script to automatically mount external usb hard disk


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users script to automatically mount external usb hard disk
Prev   Next
# 1  
Old 11-24-2010
script to automatically mount external usb hard disk

hi all,

I have a debian lenny 5.0 server without GNOME installed.
the server is at a customer's premise.

I want to backup data from the server to the external usb hard disk.

the backup will start at e.g 01:00 everyday.
the user will plug the drive before going home.
also the user will not be given any access to the server.

kindly help & advise me on a solution.
thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How do I mount a USB Hard Drive?

I have a Sun-Fire V440 running with Solaris 9 and am trying to get a WD USB Hard Drive mounted. None of the articles I've read so far have helped. Output from rmformat: Looking for devices... 1. Volmgt Node: /vol/dev/aliases/rmdisk0 Logical Node: /dev/rdsk/c5t0d0s2 ... (17 Replies)
Discussion started by: oldtimertj
17 Replies

2. UNIX for Advanced & Expert Users

Waking Up USB External Hard Drive for file archiving

Hello Experts, I hope I'm writing to the correct category for my question. I have a very basic shell script for doing file archiving to the external usb hard drive (WD studio edition II 2TB formatted as FAT32 for compatibility). The shell script only needs to run once per day. It basically... (8 Replies)
Discussion started by: johankor
8 Replies

3. Solaris

USB External Hard Drive for Solaris 10 Sparc

Hi- I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform. I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies

4. SuSE

External USB disk cannot be mounted

Hi, I am running Suse on a fujitsu server. The problem is that it will no fully load the usb external disk. When plugged in, dmesg shows that indeed a usb disk has been plugged in ,but gives no devpath e.g sda,sdb. lsusb shows the disk vendor (western digital) but nothing else.Whats goin on... (2 Replies)
Discussion started by: ulemsee
2 Replies

5. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

6. Filesystems, Disks and Memory

external USb hard disk reading problem

Hello, I am facing a hard disk drive reading problem since last one month and not able to resolve it. The thing is I purchased external USB hard disk (seagate 40 gb) 2 years back.And uptil now its working perfectly fine. But suddenly one day I am not able to read my data. The problem goes like... (1 Reply)
Discussion started by: albertspade
1 Replies

7. Ubuntu

External Hard drive won't mount

i have a Simple Tech hard drive that i use between two computers. it is formatted to ntfs. i have a dell desktop with Ubuntu 7.10 and Ubuntu 8.04 and Windows XP Home. and i have a laptop with Ubuntu 7.10 and Ubuntu 8.04. the laptop recognizes the hard drive on both 8.04 and 7.10 but my desktop... (9 Replies)
Discussion started by: Texasone
9 Replies

8. Solaris

FAT32 usb external hard drive - how to mount??

Hello ! What is the comand to mount and usb hard disk ? I have Solaris 10 installed! 10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies

9. UNIX for Dummies Questions & Answers

mount external usb drive on Redhat 9

I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies

10. Filesystems, Disks and Memory

External Lacie USB hard disks

I'm trying to mount a USB Lacie external hardrive in my Linux system but am having trouble doing so, I'm also having trouble mounting my USB ZIP 250 drive. It is totally me being stupid, but I'm new to unix and am having a few teathing problems. the command I'm using is the following mount... (4 Replies)
Discussion started by: electrode101
4 Replies
Login or Register to Ask a Question
jfs_mkfs(8)						     JFS file system creation						       jfs_mkfs(8)

NAME
jfs_mkfs - create a JFS formatted partition SYNOPSIS
jfs_mkfs [options] device [ blocks ] DESCRIPTION
jfs_mkfs is used to create (format) a JFS partition. jfs_mkfs must be run as root. device is the special file name corresponding to the actual device (e.g. /dev/hdb1) on which a JFS file system and/or JFS journal will be created. blocks is the number of blocks to be used for the file system. If omitted, jfs_mkfs automatically figures the file system size. The default block size is 4096. WARNING
jfs_mkfs will destroy all data on the specified device! OPTIONS
-c Check the device for bad blocks before building the file system. -j journal_device Create the external JFS journal on journal_device , create the JFS file system on device , and attach the external journal to the file system. -J journal-options Create the JFS journal on its own device or attach an external JFS journal to the JFS file system using options specified on the command-line. The following journal options are supported: journal_dev Create an external JFS journal on the given device. device=external-journal Attach an existing external JFS journal located on external-journal to the JFS file system that will be created on device. The external journal must already have been created using the command jfs_mkfs -J journal_dev external-journal Attach the external journal to the file system being created by using the command jfs_mkfs -J device=external-journal device Instead of specifying a device name directly, external-journal can also be specified by either LABEL=label or UUID=UUID to locate the external journal by either the volume label or UUID stored in the JFS external log superblock at the start of the journal. Use jfs_tune(8) to display a journal device's volume label and UUID. (See the -l, -L, and -U options of jfs_tune(8).) Only one of the journal_dev or device= options can be given per jfs_mkfs issuance. -L volume_label Set the volume label for the newly formatted device. If -L volume_label is used along with -J journal_device, the volume label of the specified external journal device will be set to volume_label. Otherwise, the volume label of the JFS file system will be set to volume_label. -O Provide case-insensitive support for compatibility with OS/2. -q Quiet execution - do not ask for confirmation before creating the file system. -s log_size Set the log size (in megabytes) of the inline log. If the -s option is not used, the default log size is 0.4% of the aggregate size. -V Print version information and exit (regardless of any other chosen options). EXAMPLES
Format 3rd partition on 2nd hard disk with the volume label "JFS_hdb3": jfs_mkfs -L JFS_hdb3 /dev/hdb3 Format 5th partition on 1st hard disk, verifying each block created: jfs_mkfs -c /dev/hda5 Format 3rd partition on 2nd hard disk as external journal, format 4th partition on 1st hard disk as JFS file system, and attach the exter- nal journal to the file system: jfs_mkfs -j /dev/hdb3 /dev/hda4 REPORTING BUGS
If you find a bug in JFS or jfs_mkfs, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://jfs.sourceforge.net/ Please send as much pertinent information as possible including any error messages resulting from running jfs_mkfs. SEE ALSO
mkfs(8), jfs_fsck(8), jfs_fscklog(8), jfs_tune(8), jfs_logdump(8), jfs_debugfs(8) AUTHORS
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr. jfs_mkfs is maintained by IBM. See the JFS project web site for more details: http://jfs.sourceforge.net/ March 9, 2005 jfs_mkfs(8)