Avatar of braker15
braker15
 asked on

Mount 1TB Ext HD FreeBSD 6.1

I'm using freebsd 6.1

The Drive shows up as Umass1

I tried 'sysinstall' -> fdisk but the drive doesn't show up there.

I'm not sure how to mount this drive... any ideas (I can't reboot the machine as it is a production server)?
11:59:22[root]  ~ $ camcontrol devlist -v
scbus0 on umass-sim0 bus 0:
<WDC WD30 00JS-00PDB0 >            at scbus0 target 0 lun 0 (da0,pass0)
scbus1 on umass-sim1 bus 1:
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)
 
(from /var/log/messages)
Mar  3 08:59:50 devweb4 kernel: umass1: Western Digital My Book, rev 2.00/1.75, addr 3
 
 
pciconf -l -v
hostb0@pci0:0:0:        class=0x060000 card=0x00000000 chip=0x00121166 rev=0x13                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CMIC-LE'
    class    = bridge
    subclass = HOST-PCI
hostb1@pci0:0:1:        class=0x060000 card=0x00000000 chip=0x00121166 rev=0x00                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CMIC-LE'
    class    = bridge
    subclass = HOST-PCI
hostb2@pci0:0:2:        class=0x060000 card=0x00000000 chip=0x00001166 rev=0x00                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:4:0: class=0xff0000 card=0x000c1028 chip=0x000c1028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'Embedded Systems Management Device 4'
none1@pci0:4:1: class=0xff0000 card=0x00081028 chip=0x00081028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'PowerEdge Expandable RAID Controller 3/Di'
none2@pci0:4:2: class=0xff0000 card=0x000d1028 chip=0x000d1028 rev=0x00 hdr=0x00
    vendor   = 'Dell Computer Corporation'
none3@pci0:14:0:        class=0x030000 card=0x01211028 chip=0x47521002 rev=0x27                                                   hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
hostb3@pci0:15:0:       class=0x060000 card=0x02011166 chip=0x02011166 rev=0x93                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI to ISA Bridge'
    class    = bridge
    subclass = HOST-PCI
atapci0@pci0:15:1:      class=0x010182 card=0x02121166 chip=0x02121166 rev=0x93                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI EIDE Controller'
    class    = mass storage
    subclass = ATA
ohci0@pci0:15:2:        class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x05                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'OSB4 OpenHCI Compliant USB Controller'
    class    = serial bus
    subclass = USB
isab0@pci0:15:3:        class=0x060100 card=0x02301166 chip=0x02251166 rev=0x00                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CSB5 PCI Bridge'
    class    = bridge
    subclass = PCI-ISA
hostb4@pci0:16:0:       class=0x060000 card=0x00000000 chip=0x01011166 rev=0x03                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb5@pci0:16:2:       class=0x060000 card=0x00000000 chip=0x01011166 rev=0x03                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb6@pci0:17:0:       class=0x060000 card=0x00000000 chip=0x01011166 rev=0x03                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
hostb7@pci0:17:2:       class=0x060000 card=0x00000000 chip=0x01011166 rev=0x03                                                   hdr=0x00
    vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
    device   = 'CIOB-X2'
    class    = bridge
    subclass = HOST-PCI
pcib2@pci4:8:0: class=0x060400 card=0x00000068 chip=0x03098086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '80303 I/O Processor PCI-to-PCI Bridge Unit'
    class    = bridge
    subclass = PCI-PCI
aac0@pci4:8:1:  class=0x010400 card=0x01211028 chip=0x000a1028 rev=0x01 hdr=0x00
    vendor   = 'Dell Computer Corporation'
    device   = 'PowerEdge 3/Di Expandable RAID Controller'
    class    = mass storage
    subclass = RAID
aacch0@pci5:6:0:        class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01                                                   hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'RAID Subsystem HBA'
    class    = mass storage
    subclass = SCSI
aacch1@pci5:6:1:        class=0x010000 card=0x00c51028 chip=0x00c59005 rev=0x01                                                   hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'RAID Subsystem HBA'
    class    = mass storage
    subclass = SCSI
bge0@pci3:6:0:  class=0x020000 card=0x01211028 chip=0x164514e4 rev=0x15 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5701 NetXtreme Gigabit Ethernet'
    class    = network
    subclass = ethernet
bge1@pci3:8:0:  class=0x020000 card=0x01211028 chip=0x164514e4 rev=0x15 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5701 NetXtreme Gigabit Ethernet'
    class    = network
    subclass = ethernet
em0@pci2:6:0:   class=0x020000 card=0x11078086 chip=0x10088086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82544EI/GC Gigabit Ethernet Controller (Copper)'
    class    = network
    subclass = ethernet

Open in new window

Unix OSStorage

Avatar of undefined
Last Comment
braker15

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
mr_egyptian

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mr_egyptian

Here is an (untested) article describing how to use the automount daemon:

http://unixtipsandtricks.blogspot.com/2007/02/setting-up-usb-and-cddvd-auto-mount.html
braker15

ASKER
it is currently NTFS, however, I definitely need it to be UFS.  I have PC-BSD, Fedora 10, and Ubuntu 8.10 machines... do you think they could format the drive UFS?  Would that make detection easier?

Also, there is currently a 300GB USB drive attached to the freebsd 6.1 machine... i'm not sure if that makes a difference.  I'll try your suggestions tomorrow.
braker15

ASKER
it can't see the device... not sure what is going on here... this is from var/log/messages (i had unplugged a 300gb usb drive and plugged the 1tb drive in to the usb port it was just in (because when i had them both plugged it it wouldn't recognize)).

Mar  4 13:45:11 devweb4 kernel: umass1: at uhub0 port 2 (addr 3) disconnected
Mar  4 13:45:11 devweb4 kernel: umass1: detached
Mar  4 13:45:15 devweb4 kernel: umass0: at uhub0 port 1 (addr 2) disconnected
Mar  4 13:45:15 devweb4 kernel: (da0:umass-sim0:0:0:0): lost device
Mar  4 13:45:15 devweb4 kernel: (da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status =$
Mar  4 13:45:15 devweb4 kernel: (da0:dead_sim0:0:0:0): removing device entry
Mar  4 13:45:15 devweb4 kernel: umass0: detached
Mar  4 13:45:31 devweb4 kernel: umass0: Western Digital My Book, rev 2.00/1.75, addr 2



All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
braker15

ASKER
here is an example of me unplugging the 1TB drive, plugging in the 300GB drive, then plugging in the 1TB drive

(it looks like the 300GB drive is read as da0, and the 1TB drive is read as umass1)

Mar  4 13:45:15 devweb4 kernel: umass0: detached
Mar  4 13:45:31 devweb4 kernel: umass0: Western Digital My Book, rev 2.00/1.75, addr 2
Mar  4 13:51:44 devweb4 kernel: umass0: at uhub0 port 1 (addr 2) disconnected
Mar  4 13:51:44 devweb4 kernel: umass0: detached
Mar  4 13:59:13 devweb4 kernel: umass0: JMicron USB to ATA/ATAPI Bridge, rev 2.00/1.00, addr 2
Mar  4 13:59:14 devweb4 kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar  4 13:59:14 devweb4 kernel: da0: <WDC WD30 00JS-00PDB0 > Fixed Direct Access SCSI-2 device
Mar  4 13:59:14 devweb4 kernel: da0: 1.000MB/s transfers
Mar  4 13:59:14 devweb4 kernel: da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C)
Mar  4 14:00:38 devweb4 kernel: umass1: Western Digital My Book, rev 2.00/1.75, addr 3
braker15

ASKER
The da0 drive shows up fine in sysinstall, but i don't see any umass in sysinstall.  btw i formatted the 1tb drive to be ufs2 using pc-bsd before i connected it
braker15

ASKER
Update, The 1TB drive shows as da0 on Freebsd 7.01 pre-release (w/PC-BSD), i can mount it fine there through sysinstall.

The drive still shows as 'umass1' in Freebsd 6.01 and it is never assigned a da0/da1 name.  Perhaps the O/S version can't handle a drive that big?  

Note: I successfully mounted a 120gb, 250gb, and 300gb drive on the Freebsd 6.01 O/S
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
gheist

Is it on its way to get repaired?
braker15

ASKER
i just bought a 750GB drive.... eventually i realized that backing up the server via USB 1.1 was slow painful death so i set up a PC Linux O/S server and NFS, mounted it as a share on my freebsd 6.1 server, then just did a recursive 'svnadmin hotcopy' to the nfs mount.  

at that point i pulled the disks, installed the new ones (set up raid container, etc)... fought all kinds of issues with raid5 ... eventually went to raid1 and everything worked.

thanks for the tips though!