Results 1 to 2 of 2

Thread: Accessing second hard drive with SAMBA

  1. #1
    Join Date
    May 2007
    Beans
    207
    Distro
    Ubuntu

    Accessing second hard drive with SAMBA

    Hi all

    Have a PC with 2 hard drives with Ubuntu Server 10.04 LTS installed on each drive, drive selection enabled on startup through GRUB.

    SAMBA is installed on both OS and would like Windows to access the drive not running Ubuntu.

    What would be the path statement in /etc/samba/smb.conf and does the drive need to be mounted prior to accessing it?

    TIA

    Chris

  2. #2
    Join Date
    May 2007
    Beans
    207
    Distro
    Ubuntu

    Re: Accessing second hard drive with SAMBA

    Eventually found a working solution, mount the second drive in a folder of the first drive

    Code:
    sudo lvdisplay
    ... and get the LV Name, ie /dev/servername/root

    Code:
    sudo mount /dev/servername/root/ /foldername/foldername
    ... to mount the second drive


    If needed...

    Code:
    sudo umount /dev/servername/root /foldername/foldername
    ... to unmount the second drive

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •