bodhi47
Posts: 2
Joined: Sat May 11, 2013 8:56 pm

mounting drive how to test for duplicates

Thu May 30, 2013 2:56 pm

Really n00b. Sorry, but a search didn't turn up a good answer. so here is my situation and my questions. sorry for the overly large post.

I finally got an external drive partitioned and mounted by adding it to /etc/fstab. Now I think it is mounting both automatically and then mounting at the direction of the fstab.
1. Is this possible to mount a drive more than once?
2. how do I test for this?
3. Is there a place where i can look up each line in the boot log to show me what it is doing?
Lines I see in dmesg that lead me to think this is happening
[ 2.412557] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.424673] Indeed it is in host mode hprt0 = 00001101
[ 2.463235] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.492549] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.520815] devtmpfs: mounted
[ 2.536078] Freeing init memory: 128K
[ 2.672868] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.685926] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.699546] hub 1-1:1.0: USB hub found
[ 2.709015] hub 1-1:1.0: 3 ports detected
[ 2.992821] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.123207] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.140118] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.158924] smsc95xx v1.0.4
[ 3.237407] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:15:99:19
[ 3.352866] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.484711] usb 1-1.3: New USB device found, idVendor=050d, idProduct=0234
[ 3.512606] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.541233] hub 1-1.3:1.0: USB hub found
[ 3.561503] hub 1-1.3:1.0: 4 ports detected
[ 3.863060] usb 1-1.3.1: new full-speed USB device number 5 using dwc_otg
[ 3.986527] usb 1-1.3.1: New USB device found, idVendor=046d, idProduct=c52b
[ 4.003618] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.017231] usb 1-1.3.1: Product: USB Receiver
[ 4.037915] usb 1-1.3.1: Manufacturer: Logitech
[ 4.143073] usb 1-1.3.2: new full-speed USB device number 6 using dwc_otg
[ 4.171180] udevd[154]: starting version 175
[ 4.267194] usb 1-1.3.2: New USB device found, idVendor=046d, idProduct=c52b
[ 4.297743] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.335878] usb 1-1.3.2: Product: USB Receiver
[ 4.372747] usb 1-1.3.2: Manufacturer: Logitech
[ 4.493122] usb 1-1.3.3: new high-speed USB device number 7 using dwc_otg
[ 4.626212] usb 1-1.3.3: New USB device found, idVendor=0bc2, idProduct=ab10
[ 4.662782] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.712633] usb 1-1.3.3: Product: Slim SL
[ 4.742589] usb 1-1.3.3: Manufacturer: Seagate
[ 4.772625] usb 1-1.3.3: SerialNumber: NA4Q0DVA
[ 4.823436] scsi0 : usb-storage 1-1.3.3:1.0
[ 5.442798] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-bcm2708_usb-1.3.1/input2
[ 5.703885] Registered led device: led0
[ 5.720277] logitech-djreceiver 0003:046D:C52B.0006: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-bcm2708_usb-1.3.2/input2
[ 5.844111] scsi 0:0:0:0: Direct-Access Seagate Slim SL 0934 PQ: 0 ANSI: 6
[ 5.874121] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/465 GiB)
[ 5.905163] sd 0:0:0:0: [sda] Write Protect is off
[ 5.932651] sd 0:0:0:0: [sda] Mode Sense: 2b 00 10 08
[ 5.933765] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 6.079454] sda: sda1
[ 6.096311] input: Logitech Unifying Device. Wireless PID:4004 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.2/0003:046D:C52B.0003/input/input0
[ 6.122926] sd 0:0:0:0: [sda] Attached SCSI disk
[ 6.646198] logitech-djdevice 0003:046D:C52B.0007: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:4004] on usb-bcm2708_usb-1.3.1:1
[ 17.682038] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 18.778814] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 25.574774] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 30.042131] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 36.571050] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SS

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: mounting drive how to test for duplicates

Thu May 30, 2013 5:33 pm

run following, it will show mount points and device references:

df -h
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

box
Posts: 19
Joined: Thu Nov 22, 2012 8:08 pm

Re: mounting drive how to test for duplicates

Thu May 30, 2013 5:45 pm

1. Yes. But for what? :shock:
In any case here is my example:

Code: Select all

# df
...
/dev/sda1           99150     46144     47886  50% /boot
/dev/sda1           99150     46144     47886  50% /mnt/tmp
#
2. Use "df" or "mount" to check all mounted devices.
3. Detailed information you can find in "dmesg" output.

bodhi47
Posts: 2
Joined: Sat May 11, 2013 8:56 pm

Re: mounting drive how to test for duplicates

Thu May 30, 2013 6:31 pm

thanks for the help
as to the 'for what' it would have been sloppiness induced by ignorance. Something i am striving to reduce.

Return to “Beginners”