I followed (I hope) your instructions and here it is what I got. Unfortunately, I'm still unable to cp. I hope I did something wrong!
Quote:
Originally Posted by amoralejo
1. Find out the mountpoint. Let's think I receive the error in directory /data/dir1. I execute:
df /data/dir1
You'll find something like:
/dev/something 937372 494028 443344 53% /data
|
[root@host11-230-149-62 downloads]# df /home/admin7714990/downloads/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 149128000 28188636 113241824 20% /
Quote:
Originally Posted by amoralejo
2. Check filesystem is in fstab file:
grep data /etc/fstab
There should be a line for /data, like:
/dev/something /data ext3 defaults
|
[root@host11-230-149-62 downloads]# grep / /etc/fstab
/dev/sda1 / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
Quote:
Originally Posted by amoralejo
3. Umount it:
umount /data
If there are process running on the filesystem you may get a device busy message. If so, you have to stop the applications that are using ig.
4. Mount it again:
mount /data
and try to write on it again.
|
[root@host11-230-149-62 downloads]# umount /
[root@host11-230-149-62 downloads]# mount /
mount: /dev/sda1 already mounted or / busy
mount: according to mtab, /dev/sda1 is already mounted on /
Thenn, when I tried to cp I get the usual error:
[root@host11-230-149-62 downloads]# cp linx-2.1.0.tar linx-2.1.0.1.tar
cp: cannot create regular file `linx-2.1.0.1.tar': Read-only file system