Addressing External USB Drive?
I have connected a Bytecc 3.5 HDD carrier containing a 80gig HDD set as Master to my Suse 9 notebook via the USB port. I think I see it via lsusb as the following Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc. After this I have no idea how to address the device. What I want to do is to dump the contents of my notebook HDD to the external drive so I may make a clean load of Suse 9.1 to the notebook. Help, please? Thanks! dmc -- Blessings ... dmc West Central Florida ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This E-mail was generated using SuSE 9.0 Linux & Mozilla. This PC is free of all Microsoft products. Visit: www.suse.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dmc said:
I have connected a Bytecc 3.5 HDD carrier containing a 80gig HDD set as Master to my Suse 9 notebook via the USB port.
I think I see it via lsusb as the following
Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc.
After this I have no idea how to address the device.
What I want to do is to dump the contents of my notebook HDD to the external drive so I may make a clean load of Suse 9.1 to the notebook.
Help, please?
Take a look at rsync. Here's a short script I wrote for backing up a system to a USB drive. It's not pretty but it works. #!/bin/sh export PATH=$PATH:/bin:/usr/bin:/usr/local/bin LIST="/" SPARDISK="/dev/sdb1" EXCLUDE1="/media" EXCLUDE2="/var/run" MOUNT="/media/sdb1" i=`/sbin/lsusb | grep Iomega` if [ x"$i" = x ] ; then echo "Please plug in the external USB drive" else for d in $LIST; do mount $SPAREDISK $MOUNT rsync -ax --exclude $EXCLUDE1 --exclude $EXCLUDE2 $LIST $MOUNT umount $MOUNT done fi -- Neil Schneider pacneil_at_linuxgeek_dot_net http://www.paccomp.com Key fingerprint = 67F0 E493 FCC0 0A8C 769B 8209 32D7 1DB1 8460 C47D Fires can't be made with dead embers, nor can enthusiasm be stirred by spiritless men. Enthusiasm in our daily work lightens effort and turns even labor into pleasant tasks. --James Baldwin
I am guessing that the data belows tells me that I need to
partition this HDD to make some or all of it Swap or
Extended or something ... yes?
What is the recommendation, please?
The initial purpose is to serve as a temporary backup
drive so I may dump my 9.0 notebook to it, wipe the notebook
HDD for a clean 9.1 load, then to copy back on to my
notebook things like the address book, the contents of
my Mozilla past E-mails and Web bookmarks as well as
some Kate and OO text files ... so I guess that the
mode of transferring the data to the HDD will dictate
the ease of getting at it later.
Sure appreciate any guidance! I cannot afford to lose
the notebook data ... nor that on my 9.0 desktop once I
get to it.
Am looking forward to 9.1!
dmc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
YaST Expert Partitioner shows the following
Device /dev/sdb
Size 74.5GB
Type OJB-00ETA0
Mount
Start 0
End 9728
Used by
Label
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/log/messages reads:
May 7 08:34:09 linux syslogd 1.4.1: restart.
May 7 08:34:10 linux /etc/hotplug/usb.rc[1101]: loaded HCD: ehci-hcd
May 7 08:34:11 linux /etc/hotplug/usb.rc[1101]: loaded HCD: usb-uhci
May 7 08:34:11 linux /etc/hotplug/usb.rc[1101]: loaded HCD: ehci-hcd
May 7 08:34:14 linux kernel: klogd 1.4.1, log source = /proc/kmsg started.
May 7 08:34:14 linux kernel: Inspecting /boot/System.map-2.4.21-199-default
May 7 08:34:14 linux kernel: Loaded 21338 symbols from
/boot/System.map-2.4.21
May 7 08:34:14 linux kernel: Symbols match kernel version 2.4.21.
May 7 08:34:14 linux kernel: Loaded 502 symbols from 18 modules.
May 7 08:34:14 linux kernel: bootsplash: silent jpeg found.
May 7 08:34:14 linux kernel: Broadcom Gigabit Ethernet Driver bcm5700
with Bro
May 7 08:34:14 linux kernel: PCI: Found IRQ 11 for device 02:02.0
May 7 08:34:14 linux kernel: PCI: Sharing IRQ 11 with 00:1d.1
May 7 08:34:14 linux kernel: eth0: Broadcom BCM5705 1000Base-T found at
mem d0
May 7 08:34:14 linux kernel: eth0: Broadcom BCM5705 Integrated Copper
transcei
May 7 08:34:14 linux kernel: eth0: Scatter-gather ON, 64-bit DMA ON, Tx
Checks
May 7 08:34:14 linux kernel: bcm5700: eth0 NIC Link is UP, 100 Mbps
full duple
May 7 08:34:14 linux kernel: ohci1394: $Rev: 1045 $ Ben Collins
Quick question re. below data -- with what sort of file system do I want to format the external HDD? Reiser, FAT, Swap, Ext2? I am sitting here with Partitioner open under YaST and do not want to make a big mess of things! Thanks! dmc dmc wrote:
I am guessing that the data belows tells me that I need to partition this HDD to make some or all of it Swap or Extended or something ... yes?
What is the recommendation, please?
The initial purpose is to serve as a temporary backup drive so I may dump my 9.0 notebook to it, wipe the notebook HDD for a clean 9.1 load, then to copy back on to my notebook things like the address book, the contents of my Mozilla past E-mails and Web bookmarks as well as some Kate and OO text files ... so I guess that the mode of transferring the data to the HDD will dictate the ease of getting at it later.
Sure appreciate any guidance! I cannot afford to lose the notebook data ... nor that on my 9.0 desktop once I get to it.
Am looking forward to 9.1!
dmc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ YaST Expert Partitioner shows the following
Device /dev/sdb Size 74.5GB Type OJB-00ETA0 Mount Start 0 End 9728 Used by Label
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/log/messages reads:
May 7 08:34:09 linux syslogd 1.4.1: restart. May 7 08:34:10 linux /etc/hotplug/usb.rc[1101]: loaded HCD: ehci-hcd May 7 08:34:11 linux /etc/hotplug/usb.rc[1101]: loaded HCD: usb-uhci May 7 08:34:11 linux /etc/hotplug/usb.rc[1101]: loaded HCD: ehci-hcd May 7 08:34:14 linux kernel: klogd 1.4.1, log source = /proc/kmsg started. May 7 08:34:14 linux kernel: Inspecting /boot/System.map-2.4.21-199-default May 7 08:34:14 linux kernel: Loaded 21338 symbols from /boot/System.map-2.4.21 May 7 08:34:14 linux kernel: Symbols match kernel version 2.4.21. May 7 08:34:14 linux kernel: Loaded 502 symbols from 18 modules. May 7 08:34:14 linux kernel: bootsplash: silent jpeg found. May 7 08:34:14 linux kernel: Broadcom Gigabit Ethernet Driver bcm5700 with Bro May 7 08:34:14 linux kernel: PCI: Found IRQ 11 for device 02:02.0 May 7 08:34:14 linux kernel: PCI: Sharing IRQ 11 with 00:1d.1 May 7 08:34:14 linux kernel: eth0: Broadcom BCM5705 1000Base-T found at mem d0 May 7 08:34:14 linux kernel: eth0: Broadcom BCM5705 Integrated Copper transcei May 7 08:34:14 linux kernel: eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checks May 7 08:34:14 linux kernel: bcm5700: eth0 NIC Link is UP, 100 Mbps full duple May 7 08:34:14 linux kernel: ohci1394: $Rev: 1045 $ Ben Collins
-- Blessings ... dmc West Central Florida ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This E-mail was generated using SuSE 9.0 Linux & Mozilla. This PC is free of all Microsoft products. Visit: www.suse.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dmc wrote:
Quick question re. below data -- with what sort of file system do I want to format the external HDD?
Reiser, FAT, Swap, Ext2?
I am sitting here with Partitioner open under YaST and do not want to make a big mess of things!
AFAIK, the answer to this should be no different from any other MSD. If only SuSE is to use it, then use the same FS as you use for /. If you need access from windoze, then pick an appropriate M$ filesystem. -- "For since the creation of the world God's invisible qualities -- his eternal power and divine nature -- have been clearly seen, being understood from what has been made, so that men are without excuse." Romans 1:20 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Friday 11 June 2004 11:19, dmc wrote:
with what sort of file system do I want to format the external HDD?
I have a USB Maxtor external hard drive formatted with reiser. It is working great with SuSE. ********************************************** Bryan S. Tyson bryantyson@earthlink.net Powered by SuSE Linux 9.0 KDE 3.1.4 KMail 1.5.4 This is a Microsoft-free computer **********************************************
Bryan S. Tyson wrote:
On Friday 11 June 2004 11:19, dmc wrote:
with what sort of file system do I want to format the external HDD?
I have a USB Maxtor external hard drive formatted with reiser. It is working great with SuSE.
If I am to back up dual-booted computers (Linux & M$) must I use a file system other than Reiser or if I intend to move the files back and forth only within Linux is that not a concern? -- Blessings ... dmc West Central Florida ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This E-mail was generated using SuSE 9.0 Linux & Mozilla. This PC is free of all Microsoft products. Visit: www.suse.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* dmc
Bryan S. Tyson wrote:
On Friday 11 June 2004 11:19, dmc wrote:
with what sort of file system do I want to format the external HDD?
I have a USB Maxtor external hard drive formatted with reiser. It is working great with SuSE.
If I am to back up dual-booted computers (Linux & M$) must I use a file system other than Reiser or if I intend to move the files back and forth only within Linux is that not a concern?
What part about the earlier answer quoted (in full) below is it that
you do not understand?
* Felix Miata
dmc wrote:
Quick question re. below data -- with what sort of file system do I want to format the external HDD?
Reiser, FAT, Swap, Ext2?
I am sitting here with Partitioner open under YaST and do not want to make a big mess of things!
AFAIK, the answer to this should be no different from any other MSD. If only SuSE is to use it, then use the same FS as you use for /. If you need access from windoze, then pick an appropriate M$ filesystem.
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Patrick Shanahan wrote:
* dmc
[06-11-04 13:06]: Bryan S. Tyson wrote:
On Friday 11 June 2004 11:19, dmc wrote:
with what sort of file system do I want to format the external HDD?
I have a USB Maxtor external hard drive formatted with reiser. It is working great with SuSE.
If I am to back up dual-booted computers (Linux & M$) must I use a file system other than Reiser or if I intend to move the files back and forth only within Linux is that not a concern?
What part about the earlier answer quoted (in full) below is it that you do not understand?
The part that did not address my latest question. I am only moving files/folders and am not addressing apps. When I am moving said files/folders (only for the purpose of holding files/folders while clean-loading 9.1, then to selectively retrieve them), I will only do so within Linux. My question stands, do I need to use something other than Resiser under these specific conditions? Are M$ files/folders negatively impacted if residing upon a Reiser- formatted HDD? Thanks! dmc
* Felix Miata
[06-11-04 12:17]: dmc wrote:
Quick question re. below data -- with what sort of file system do I want to format the external HDD?
Reiser, FAT, Swap, Ext2?
I am sitting here with Partitioner open under YaST and do not want to make a big mess of things!
AFAIK, the answer to this should be no different from any other MSD. If only SuSE is to use it, then use the same FS as you use for /. If you need access from windoze, then pick an appropriate M$ filesystem.
-- Blessings ... dmc West Central Florida ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This E-mail was generated using SuSE 9.0 Linux & Mozilla. This PC is free of all Microsoft products. Visit: www.suse.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* dmc
The part that did not address my latest question.
I am only moving files/folders and am not addressing apps.
When I am moving said files/folders (only for the purpose of holding files/folders while clean-loading 9.1, then to selectively retrieve them), I will only do so within Linux.
My question stands, do I need to use something other than Resiser under these specific conditions?
already answered
Are M$ files/folders negatively impacted if residing upon a Reiser- formatted HDD?
no, they are not negatively impacted. They could be sitting on my work-bench or stored on an old VIC-20 audio tape back-up and not be negatively impacted. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
I learned some more about the different file system options via Google and decided to use Ext3 for my current application. I then used YaST Partitioner to create a Ext3 file system that it labeled /media/sdb1 and then accessed it from my SuSE 9.0 KDE desktop. In Konsole I used sux to become root then used mc (Midnight Commander) to create a folder "stuff" next to the automagically generated "lost+found" folder (it happened when YaST created the file system I presume -- YaST provided no dialog that I observed informing me of said folder creation). As a test I successfully copied a .jpg file from /home/edoc to /media/sdb1. So far so good. Now I want to mirror my SuSE 9.0 notebook's hdd contents to the usb drive ... but that is a new thread ... Thanks! dmc -- Blessings ... dmc West Central Florida ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This E-mail was generated using SuSE 9.0 Linux & Mozilla. This PC is free of all Microsoft products. Visit: www.suse.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Thursday 10 June 2004 15:06, dmc wrote:
I have connected a Bytecc 3.5 HDD carrier containing a 80gig HDD set as Master to my Suse 9 notebook via the USB port.
I think I see it via lsusb as the following
Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc.
After this I have no idea how to address the device.
What I want to do is to dump the contents of my notebook HDD to the external drive so I may make a clean load of Suse 9.1 to the notebook.
Help, please?
Thanks! dmc
Tail your logs (/var/log/messages) while you plug in and power on the drive. It will five you enough informations to mount the drive. For instance: when I plug my external disk into the usb port and apply power I see the following: ------------------------------ pen:~# tail -f /var/log/messages Jun 10 15:44:38 pen kernel: hub.c: new USB device 00:07.2-1, assigned address 6 Jun 10 15:44:38 pen kernel: usb-uhci.c: interrupt, status 2, frame# 732 Jun 10 15:44:39 pen kernel: usb_control/bulk_msg: timeout Jun 10 15:44:39 pen kernel: scsi4 : SCSI emulation for USB Mass Storage devices Jun 10 15:44:39 pen kernel: Vendor: IC25N040 Model: ATCS04-0 Rev: 0811 Jun 10 15:44:39 pen kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 10 15:44:39 pen kernel: Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0 Jun 10 15:44:39 pen kernel: SCSI device sdd: 78140160 512-byte hdwr sectors (40008 MB) Jun 10 15:44:39 pen kernel: sdd: sdd1 ---------------------------- There... See that last line? It told me that /dev/sdd1 (scsi device d / partition 1 ) was added So then I mount it, and list content pen:~ # mount /dev/sdd1 /mnt pen:~ # l /mnt total 27483377 drwxrwx--- 5 root users 328 Apr 23 21:38 ./ drwxr-xr-x 26 root root 632 Mar 27 20:42 ../ -rw------- 1 jsa users 28 Jan 30 18:05 .directory -rw-r--r-- 1 root root 10091724800 Mar 27 22:49 TotalBkup032704.bru ... ... ... N -- _____________________________________ John Andersen
participants (6)
-
Bryan S. Tyson
-
dmc
-
Felix Miata
-
John Andersen
-
Neil Schneider
-
Patrick Shanahan