Working with network shares

Asked by Per Frejvall

OK, so I have Intrepid with OO 3.0 and want to work with files stored on a bunch of servers reachable by means of CIFS (Win srv 2k3 and 2k8).

I can connect to the network shares, create bookmarks for them and look at them in Nautilus - all is fine. In OO I cannot find anything relating to network shares in the file open dialogs!?!

Under OSX, all connected network shares appear mounted under /Volumes for as long as they are connected. Doesn't Ubuntu do as OSX in that respect? If so, where?

Do I have to mount shares manually in the normal file name space, for instance under /mnt before they can be used? If that is so, doesn't that defy the whole idea of being able to reach them easily in Nautilus? I would like to be able to double-click documents from Nautilus...

Isn't OO supposed to include a name space simular to that of Nautilus wen it comes to open file dialogs?

Lots of questions...

/per

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
IAmDaveMyers (davemyers) said :
#1

Per

The network shares should show up on in the expected place with all the other directories and "places".

You have obviously mounted the shares as you are able to view them in nautilus. Can you find one of the documents you are after and select to open it in OO? If so try to "Save as" and see if the share is shown up as the default location (this is the usual behavior I beleive).

Are you able to view the location in other packages (eg gedit or GIMP etc?).

Is this common to all of the OO systems (imprees, spreadsheet etc) or is it only in one of them?

I personally don't use word documents very often (mostly I'm using gedit), but I can check this out tomorrow with networked drives shared under windows (although I don't believe we have any windows servers?

Can you confirm also confirm your version of Ubuntu etc, just to ensure we are talking from the same song sheet.

Thanks

David

Revision history for this message
Per Frejvall (per-frejvall) said :
#2

Dave!

Thanks for a quick response!

It is Ubuntu 8.10 amd64 (Studio) without the RT kernel (RT was just too shaky) and OO 3.0 installed by adding a launchpad source to Synaptics and then accepting the proposed upgrade from the OO version that was in the distro.

In Gimp, all is fine and I can browse around the "usual places" in all file dialogs.

In all OO products, the file dialogs resemble X11 from 1989 and they show only the file system namespace.

As for not wanting Word documents; well, unfurtunately they are essential for me. I work with Polar expeditions to the high Arctic and to Antarctica, and even though a lot of scientists today are on different platforms than Windows, word documents still rule in that community. Sorry to say, I have yet to see a fairly advanced word document that resembles its look in "real" Word. Well, well...

Screenshots at http://frejvall.com/gimp1.png and http://frejvall.com/oo1.png

All the best,

Per

Revision history for this message
IAmDaveMyers (davemyers) said :
#3

Per

Currently the shares on the windows PC are unavailable! sorry, I can't be of much help - when they get re-started I will check.

Also I am currently using 2.4 of OO (not 3.0), but it won't hurt to see if this is something that has "broken" in the upgrade.

Another quick question that I have just thought of.

have you tried mounting the share as a "normal" folder somewhere in the system (much like a sub share?) using fstab. The is a forum thread by for fstab here < http://ubuntuforums.org/showthread.php?t=283131 > by bodhi Zazen, he goes into the automounting of network shares as well somewhere on the thread. Maybee this will work for you? I admit this is a "work around" but would highlight an issue in OO if you were able to see the folders when mounted in this fashion.

I recently did something similar with mounting extra HDD in a shared folde (worked rather well in fact) I have attached the help file that I created at the time, maybee it will be of help to you?

Another question about finding the document.....

If you copy and paste the full path to the document, and the document name, can OO open it then, or does it fail to find the document in this instance also. I would hope if you have put in the full document pathname OO will simple open it up, even if it can't "navigate" to that share directly, again this is just a temporary work around.

David.

Revision history for this message
IAmDaveMyers (davemyers) said :
#4

Per,

i seem unable to attach a document?? so I'll simply cut an paste it into this part of the conversation..... there is rather a lot, but I hope it helps.

[start of file]
************output from commands********For reference*******

Udated 2008 Dec 4

davem@BlackAdder:~$ mount
/dev/mapper/BlackAdder-root on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sde1 on /boot type ext3 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sdd1 on /media/Disk IV type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdb1 on /media/Disk II type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdc1 on /media/Disk III type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda1 on /media/Disk I type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
davem@BlackAdder:~$

davem@BlackAdder:~$ ls /dev/disk/by-uuid -lah
total 0
drwxr-xr-x 2 root root 180 2008-12-04 17:57 .
drwxr-xr-x 6 root root 120 2008-12-04 17:56 ..
lrwxrwxrwx 1 root root 28 2008-12-04 17:57 0588aecb-553d-441d-aa7a-5a7a52069604 -> ../../mapper/BlackAdder-root
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 5E32A17932A156B5 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 8472B29172B28806 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 8cf5762b-955b-450d-9138-be78f55ca490 -> ../../sde1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 AE82CEC082CE8BF1 -> ../../sdd1
lrwxrwxrwx 1 root root 30 2008-12-04 17:57 ca718353-2185-4a77-af14-c243e3eb1346 -> ../../mapper/BlackAdder-swap_1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 FE8EBC8F8EBC41C7 -> ../../sdc1
davem@BlackAdder:~$

davem@BlackAdder:~$ ls /dev/disk/by-label -lah
total 0
drwxr-xr-x 2 root root 120 2008-12-04 17:56 .
drwxr-xr-x 6 root root 120 2008-12-04 17:56 ..
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20I -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20II -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20III -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20IV -> ../../sdd1
davem@BlackAdder:~$

davem@BlackAdder:~$ ls /dev/disk/by-id -lah
total 0
drwxr-xr-x 2 root root 680 2008-12-04 17:57 .
drwxr-xr-x 6 root root 120 2008-12-04 17:56 ..
lrwxrwxrwx 1 root root 9 2008-12-04 17:57 ata-WDC_WD740ADFD-00NLR5_WD-WMANS2226891 -> ../../sde
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 ata-WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 ata-WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 ata-WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part5 -> ../../sde5
lrwxrwxrwx 1 root root 28 2008-12-04 17:57 dm-name-BlackAdder-root -> ../../mapper/BlackAdder-root
lrwxrwxrwx 1 root root 30 2008-12-04 17:57 dm-name-BlackAdder-swap_1 -> ../../mapper/BlackAdder-swap_1
lrwxrwxrwx 1 root root 28 2008-12-04 17:57 dm-uuid-LVM-r66gg7rsTh9cejSvfxH010GFST7su18s3t2qOWaCfdFh5Y84a6Zja95m30cgmVuZ -> ../../mapper/BlackAdder-root
lrwxrwxrwx 1 root root 30 2008-12-04 17:57 dm-uuid-LVM-r66gg7rsTh9cejSvfxH010GFST7su18sYqyleoS0fzLN1tkxhR9Ts63sKF9U9kf8 -> ../../mapper/BlackAdder-swap_1
lrwxrwxrwx 1 root root 9 2008-12-04 17:57 edd-int13_dev80 -> ../../sde
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 edd-int13_dev80-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 edd-int13_dev80-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 edd-int13_dev80-part5 -> ../../sde5
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 edd-int13_dev81 -> ../../sda
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 edd-int13_dev81-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 edd-int13_dev82 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 edd-int13_dev82-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 edd-int13_dev83 -> ../../sdc
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 edd-int13_dev83-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 edd-int13_dev84 -> ../../sdd
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 edd-int13_dev84-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 2008-12-04 17:57 scsi-1ATA_WDC_WD740ADFD-00NLR5_WD-WMANS2226891 -> ../../sde
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 scsi-1ATA_WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 scsi-1ATA_WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 2008-12-04 17:57 scsi-1ATA_WDC_WD740ADFD-00NLR5_WD-WMANS2226891-part5 -> ../../sde5
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 scsi-SAdaptec_Disk_I_C9E9D047 -> ../../sda
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 scsi-SAdaptec_Disk_I_C9E9D047-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 scsi-SAdaptec_Disk_II_A035D047 -> ../../sdb
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 scsi-SAdaptec_Disk_II_A035D047-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 scsi-SAdaptec_Disk_III_1EC1E047 -> ../../sdc
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 scsi-SAdaptec_Disk_III_1EC1E047-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 2008-12-04 17:56 scsi-SAdaptec_Disk_IV_0B828047 -> ../../sdd
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 scsi-SAdaptec_Disk_IV_0B828047-part1 -> ../../sdd1
davem@BlackAdder:~$

**from the above the information we need is****

lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20I -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20II -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20III -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-12-04 17:56 Disk\x20IV -> ../../sdd1

this is from the <ls /dev/disk/by-label -lah> command

This tells us the disk label for each of the disks for their mount points (sdb1 etc), below are the desired mount points!, I will re issue the command above after completion to confirm the change has taken effect.

****************************************
****** details of SATA 1 Tb disks ******
** note that disks are "zero" indexed **
****************************************

***Short version***

format of lines (tab separated)
Productnumber; DiskNumber; Disk Logical Name; Disk Serial Number; Volume Serial Number. mount Point

Disk I; 0; /dev/sda; C9E9D047; a46f1a8e-c415-0443-9b30-775ea77043b2; /home/guest/TB1

Disk II; 1; /dev/sdb; A035D047; e67e4098-2a3c-524c-8400-c5c14753b961; /home/guest/TB2

Disk III; 2; /dev/sdc 1EC1E047; 7cc95607-93fe-6747-b097-cd8a2b81beb4; /home/guest/TB3

Disk IV; 3; /dev/sdd 0B828047; 4e5b42ba-d278-5441-bc79-a9223045f534; /home/guest/TB3

each have a mount point that effectively puts them as sub directories of //myologyShare

NOTE however, this share point is only the share name on BlackAdder it is in fact the </home/guest> sub directory.

this is how the /etc/fstab file in the appropriate section so that it now contains the info for the mount points looks

*****lines added to /etc/fstab***8
label=Disk I /home/guest/TB1 auto rw,user,noauto,exec,utf8 0 0
label=Disk II /home/guest/TB2 auto rw,user,noauto,exec,utf8 0 0
label=Disk III /home/guest/TB3 auto rw,user,noauto,exec,utf8 0 0
label=Disk IV /home/guest/TB4 auto rw,user,noauto,exec,utf8 0 0

********old lines in /etc/mtab******

/dev/sde1 /media/Disk\040IV fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
/dev/sdb1 /media/Disk\040I fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
/dev/sdc1 /media/Disk\040II fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
/dev/sdd1 /media/Disk\040III fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0

*******new lines added to file contents************
/dev/sde1 on //home/guest/TB4 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdb1 on /home/guest/TB1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdc1 on /home/guest/TB2 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdd1 on /home/guest/TB3 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)

****-disk - main boot disk ****
                description: ATA Disk
                product: WDC WD740ADFD-00
                vendor: Western Digital
                physical id: 0.0.0
                bus info: scsi@5:0.0.0
                logical name: /dev/sde
                version: 21.0
                serial: WD-WMANS2226891
                size: 69GiB (74GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=0004b027
 First partition *-volume:0
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@5:0.0.0,1
                   logical name: /dev/sde1
                   logical name: /boot
                   version: 1.0
                   serial: 8cf5762b-955b-450d-9138-be78f55ca490
                   size: 243MiB
                   capacity: 243MiB
                   capabilities: primary bootable journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-10-22 16:15:10 filesystem=ext3 modified=2008-12-03 14:23:02 mount.fstype=ext3 mount.options=rw,relatime,data=ordered mounted=2008-12-03 13:32:28 state=mounted

second partition ***-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@5:0.0.0,2
                   logical name: /dev/sde2
                   size: 69GiB
                   capacity: 69GiB
                   capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
                      description: Linux LVM Physical Volume partition
                      physical id: 5
                      logical name: /dev/sde5
                      serial: P1bAVF-BwtJ-mKwJ-b074-7DqQ-zRd3-c7H0e8
                      size: 69GiB
                      capacity: 69GiB
                      capabilities: multi lvm2

***long version, from print out of <lshw>*****

*-disk:0
                      description: SCSI Disk
                      product: Disk I
                      vendor: Adaptec
                      physical id: 0.0.0
                      bus info: scsi@4:0.0.0
                      logical name: /dev/sda
                      version: V1.0
                      serial: C9E9D047
                      size: 931GiB (1TB)
                      capabilities: partitioned partitioned:dos
                      configuration: ansiversion=2 signature=b9ff26a6
                    *-volume
                         description: Windows NTFS volume
                         physical id: 1
                         bus info: scsi@4:0.0.0,1
                         logical name: /dev/sda1
                         logical name: /media/Disk I
                         version: 3.1
                         serial: a46f1a8e-c415-0443-9b30-775ea77043b2
                         size: 931GiB
                         capacity: 931GiB
                         capabilities: primary bootable ntfs initialized
                         configuration: clustersize=4096 created=2008-09-05 14:26:31 filesystem=ntfs label=Disk I mount.fstype=fuseblk mount.options=rw,nosuid,nodev,noatime,relatime,user_id=0,group_id=0,allow_other state=mounted

*-disk:1
                      description: SCSI Disk
                      product: Disk II
                      vendor: Adaptec
                      physical id: 0.1.0
                      bus info: scsi@4:0.1.0
                      logical name: /dev/sdb
                      version: V1.0
                      serial: A035D047
                      size: 931GiB (1TB)
                      capabilities: partitioned partitioned:dos
                      configuration: ansiversion=2 signature=b9ff26a5
                    *-volume
                         description: Windows NTFS volume
                         physical id: 1
                         bus info: scsi@4:0.1.0,1
                         logical name: /dev/sdb1
                         logical name: /media/Disk II
                         version: 3.1
                         serial: e67e4098-2a3c-524c-8400-c5c14753b961
                         size: 931GiB
                         capacity: 931GiB
                         capabilities: primary ntfs initialized
                         configuration: clustersize=4096 created=2008-09-05 14:26:59 filesystem=ntfs label=Disk II mount.fstype=fuseblk mount.options=rw,nosuid,nodev,noatime,relatime,user_id=0,group_id=0,allow_other state=mounted

*-disk:2
                      description: SCSI Disk
                      product: Disk III
                      vendor: Adaptec
                      physical id: 0.2.0
                      bus info: scsi@4:0.2.0
                      logical name: /dev/sdc
                      version: V1.0
                      serial: 1EC1E047
                      size: 931GiB (1TB)
                      capabilities: partitioned partitioned:dos
                      configuration: ansiversion=2 signature=b9ff26a4
                    *-volume
                         description: Windows NTFS volume
                         physical id: 1
                         bus info: scsi@4:0.2.0,1
                         logical name: /dev/sdc1
                         logical name: /media/Disk III
                         version: 3.1
                         serial: 7cc95607-93fe-6747-b097-cd8a2b81beb4
                         size: 931GiB
                         capacity: 931GiB
                         capabilities: primary ntfs initialized
                         configuration: clustersize=4096 created=2008-09-05 14:27:15 filesystem=ntfs label=Disk III mount.fstype=fuseblk mount.options=rw,nosuid,nodev,noatime,relatime,user_id=0,group_id=0,allow_other state=mounted

 *-disk:3
                      description: SCSI Disk
                      product: Disk IV
                      vendor: Adaptec
                      physical id: 0.3.0
                      bus info: scsi@4:0.3.0
                      logical name: /dev/sdd
                      version: V1.0
                      serial: 0B828047
                      size: 931GiB (1TB)
                      capabilities: partitioned partitioned:dos
                      configuration: ansiversion=2 signature=1fb852bb
                    *-volume
                         description: Windows NTFS volume
                         physical id: 1
                         bus info: scsi@4:0.3.0,1
                         logical name: /dev/sdd1
                         logical name: /media/Disk IV
                         version: 3.1
                         serial: 4e5b42ba-d278-5441-bc79-a9223045f534
                         size: 931GiB
                         capacity: 931GiB
                         capabilities: primary ntfs initialized
                         configuration: clustersize=4096 created=2008-09-05 14:27:45 filesystem=ntfs label=Disk IV mount.fstype=fuseblk mount.options=rw,nosuid,nodev,noatime,relatime,user_id=0,group_id=0,allow_other state=mounted

[/end of file]

Revision history for this message
IAmDaveMyers (davemyers) said :
#5

Per

I was too quick off the mark with my other responses.

It seems as though you are only viewing the location of < /home/per > I wonder if there is a setting that can be changed for the load/save files option (goto Tools -> Options to get the dialog) maybee it is a strange sort of default setting, as I have a "browser" section on my <open file> dialog, but you do not?

very strange, I would have expected the open file dialog to look more like the one from the gimp? Is this a fresh install of your system or an upgrade!?

David.

ps. sorry for 3 answers in quick succession, I missed that you had added screen shots, as I wansn't able to do so.

Revision history for this message
Laurent Dinclaux (dreadlox) said :
#6

Network browsing is really an annoying missing feature of openoffice file dialog box. Windows has it since, well, 1995...

Can you help with this problem?

Provide an answer of your own, or ask Per Frejvall for more information if necessary.

To post a message you must log in.