Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have server A and server B. Both using same OS and same hardware. Server A attached with external HDD. Server A will be backup server. Server B have ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    6

    How to: NFS

    Hi,

    I have server A and server B. Both using same OS and same hardware. Server A attached with external HDD. Server A will be backup server. Server B have oracle DB. So, i want to use external HDD from server A to backup data from server B. I follow all tutorial that i found in the net. But i getting error:

    Code:
    [oracle@backup Disk1]$ cd /media/usbdisk/
    [oracle@senangin usbdisk]$ ll
    total 48
    drwxr-xr-x  2 root root 49152 Mar 17 12:21 lost+found
    [oracle@backup usbdisk]$ mkdir test
    mkdir: cannot create directory `test': Read-only file system
    [oracle@backup usbdisk]$
    This is from server A. I try to write something in external hdd, but get those kind of error.SELinux has been disable during the installation of OS.

    Code:
    drwxr-xr-x  2 root root 4096 Mar 19 09:51 cdrom
    drwxrwxrwx  3 root root 4096 Mar 17 12:21 usbdisk
    /etc/exports
    Code:
    [oracle@senangin ~]$ cat /etc/exports
    media/cdrom              *(ro,sync,no_root_squash)
    /home/oracle/wong_shared 192.168.9.*/255.255.255.0(rw,sync)
    /media/usbdisk           192.168.9.*/255.255.255.0(rw,sync,no_root_squash)
    /mnt/Disk1               192.168.9.*/255.255.255.0(rw,sync)
    [oracle@senangin ~]$

  2. #2
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Hi there,

    The permissions can change when the drive is mounted. Please connect the usb drive and make sure is it mounted, then post the output of the following:

    Code:
    mount
    ls -al /media/usbdisk

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    6
    The usb drive already mounted.

    Code:
    [root@senangin ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          2.0G  339M  1.6G  18% /
    /dev/sda1              99M   13M   81M  14% /boot
    none                  4.0G     0  4.0G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol01
                          2.0G   37M  1.9G   2% /tmp
    /dev/mapper/VolGroup00-LogVol02
                           30G   18G   11G  63% /usr
    /dev/mapper/VolGroup00-LogVol03
                          7.9G  330M  7.2G   5% /var
    /dev/mapper/VolGroup00-LogVol05
                           20G  5.9G   13G  32% /u01
    /dev/mapper/VolGroup00-LogVol06
                          205G   83G  112G  43% /home
    /dev/sdc5             289G   33M  274G   1% /media/usbdisk
    /dev/sdd5             289G   33M  274G   1% /media/usbdisk1
    [root@senangin ~]#

  4. #4
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    It looks like it's mounted twice.. do

    Code:
    umount /media/usbdisk
    umount /media/usbdisk1
    then try again.

Posting Permissions

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