LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2013, 07:12 AM   #1
samba030
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Rep: Reputation: Disabled
How can I write to mounted partition?


Dear All
I have problem, After mounted over network successful but I can't write data to mounted partition from Linux
Please help me!
 
Old 03-27-2013, 07:18 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,775

Rep: Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533
we need more details. probably it is write protected...
 
Old 03-27-2013, 10:33 AM   #3
kyr0
LQ Newbie
 
Registered: Jun 2011
Distribution: Debian
Posts: 27

Rep: Reputation: 14
Hi!

Post the output of the command:
Code:
mount
K.
 
Old 03-27-2013, 10:17 PM   #4
samba030
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
output of mount command
Code:
[root@ibm-m3-n1 ~]# mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda9 on /tmp type ext3 (rw)
/dev/sda8 on /usr type ext3 (rw)
/dev/sda7 on /u01 type ext3 (rw)
/dev/sda6 on /home type ext3 (rw)
/dev/sda5 on /var/log type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
oracleasmfs on /dev/oracleasm type oracleasmfs (rw)
//10.1.1.8/2013 on /media/c type cifs (rw,mand)
output of ls -l on mount folder
Code:
[root@ibm-m3-n1 ~]# ls -l /media
total 0
drwxr-xr-x 1 root root 0 Mar  8 10:03 c
[root@ibm-m3-n1 ~]# ls -l /media/c
total 15043044
drwxr-xr-x 1 root root       16384 Mar 27 23:35 dumpfile
-rwxr-xr-x 1 root root 15403466752 Dec 31 03:43 PTIDB20121230233000_FULL.DMP
-rwxr-xr-x 1 root root      592659 Dec 31 03:43 ptidb20121230233000_full.log
please help me!
 
Old 03-27-2013, 10:28 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,037

Rep: Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458Reputation: 2458
well what one are you trying to write to ?
Quote:
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
oracleasmfs on /dev/oracleasm type oracleasmfs (rw)
//10.1.1.8/2013 on /media/c type cifs (rw,mand)
and on what operating system is this
because this is one " odd" partitioning set up
Quote:
/dev/sda9 on /tmp type ext3 (rw)
/dev/sda8 on /usr type ext3 (rw)
/dev/sda7 on /u01 type ext3 (rw)
/dev/sda6 on /home type ext3 (rw)
/dev/sda5 on /var/log type ext3 (rw)
/tmp is not normally a partition
/var/log is not normally a partition
and what is "u01" ?

can you also post the output of
Code:
su -
fdisk -l
this will output the partition set up

and do you see this "partition" you can not write to listed in the file " /etc/mtab"
and is this "partition" mounted using /etc/fstab" ? or a udev rule in /media
 
Old 03-28-2013, 12:28 AM   #6
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
if you are using nfs shared for mounting then you have to add write permission.
#vim /etc/exports
/shared "your share network"(rw,sync)

and save the file
#service nfs restart
#chkconfig nfs on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write over NTFS mounted partition? paragkalra Linux - Desktop 2 12-19-2007 03:27 PM
cannot write on mounted partition djre Linux - Newbie 2 10-20-2007 07:33 AM
Can't write to mounted partition thort Linux - Newbie 4 01-27-2006 01:50 AM
can not write data to Mounted partition thachphathien Linux - Newbie 1 09-30-2004 12:41 PM
write premission on mounted partition trollman Linux - Newbie 10 02-14-2004 04:14 PM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration