Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: raycheng on December 10, 2008, 03:49:28 PM
-
Hi,
wonder someone can help ? I can not access my ibays after SME7.4 disk space low (48GB) .
When login root , I found that my folder had a @sign at the front , when i change dir to my folder , it say can not be found.
please help , anyone one, need files from my folder.
appreciate anyone that can help , thanks.
Raymond
-
Hi,
wonder someone can help ? I can not access my ibays after SME7.4 disk space low (48GB) .
When login root , I found that my folder had a @sign at the front , when i change dir to my folder , it say can not be found.
please help , anyone one, need files from my folder.
appreciate anyone that can help , thanks.
Raymond
The @ sign is something strange, that should have nothing to do with the disk being full or what so ever AFAIK. Have you been manually doing stuff on the command line perhaps?
What is the output of the following command on the command line interface when logged in as root:
df
and ls -la /home/e-smith/files/ibays
-
thanks for your quick reply, below is what is see when try to access the folder , which is the only one that can't be access. :P
login as: root
root@xmh.ath.cx's password:
Last login: Wed Dec 10 23:10:37 2008 from 121.6.78.226
[root@sme1 ~]# ls -la /home/e-smith/files/ibays
total 72
drwxr-xr-x 18 root root 4096 Dec 10 13:47 .
drwxr-xr-x 7 root root 4096 Oct 14 04:04 ..
lrwxrwxrwx 1 root root 26 Mar 6 2008 account -> /mnt/newdisk/ibays/account
drwxr-xr-x 6 root root 4096 May 9 2007 co_events
drwxr-xr-x 6 root root 4096 May 9 2007 com.report
drwxr-xr-x 6 root root 4096 May 9 2007 consumables
drwxr-xr-x 6 root root 4096 May 9 2007 costings
drwxr-xr-x 6 root root 4096 May 9 2007 daceasy
lrwxrwxrwx 1 root root 22 Mar 5 2008 hee -> /mnt/newdisk/ibays/hee
drwxr-xr-x 6 root root 4096 May 9 2007 import
drwxr-xr-x 6 root root 4096 May 9 2007 managers
drwxr-xr-x 6 root root 4096 Oct 15 2007 manhour
lrwxrwxrwx 1 root root 27 Feb 26 2008 namecard -> /mnt/newdisk/ibays/namecard
drwxr-xr-x 6 root root 4096 May 9 2007 parts
drwxr-xr-x 6 root root 4096 Mar 30 2008 permata
drwxr-xr-x 5 root root 4096 May 16 2007 Primary
drwxr-xr-x 6 root root 4096 May 9 2007 reports
drwxr-xr-x 6 root root 4096 May 9 2007 sales
drwxr-xr-x 6 root root 4096 May 9 2007 sharedata
drwxr-xr-x 6 root root 4096 Oct 15 2007 shpg_docs
drwxr-xr-x 6 root root 4096 Oct 15 2007 stock
[root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: cd: /mnt/newdisk/ibays/account: Not a directory
[root@sme1 ~]# [root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: [root@sme1: command not found
[root@sme1 ~]# -bash: cd: /mnt/newdisk/ibays/account: Not a directory
-bash: -bash:: command not found
[root@sme1 ~]#
-
thanks for your quick reply, below is what is see when try to access the folder , which is the only one that can't be access. :P
login as: root
root@xmh.ath.cx's password:
Last login: Wed Dec 10 23:10:37 2008 from 121.6.78.226
[root@sme1 ~]# ls -la /home/e-smith/files/ibays
total 72
drwxr-xr-x 18 root root 4096 Dec 10 13:47 .
drwxr-xr-x 7 root root 4096 Oct 14 04:04 ..
lrwxrwxrwx 1 root root 26 Mar 6 2008 account -> /mnt/newdisk/ibays/account
drwxr-xr-x 6 root root 4096 May 9 2007 co_events
drwxr-xr-x 6 root root 4096 May 9 2007 com.report
drwxr-xr-x 6 root root 4096 May 9 2007 consumables
drwxr-xr-x 6 root root 4096 May 9 2007 costings
drwxr-xr-x 6 root root 4096 May 9 2007 daceasy
lrwxrwxrwx 1 root root 22 Mar 5 2008 hee -> /mnt/newdisk/ibays/hee
drwxr-xr-x 6 root root 4096 May 9 2007 import
drwxr-xr-x 6 root root 4096 May 9 2007 managers
drwxr-xr-x 6 root root 4096 Oct 15 2007 manhour
lrwxrwxrwx 1 root root 27 Feb 26 2008 namecard -> /mnt/newdisk/ibays/namecard
drwxr-xr-x 6 root root 4096 May 9 2007 parts
drwxr-xr-x 6 root root 4096 Mar 30 2008 permata
drwxr-xr-x 5 root root 4096 May 16 2007 Primary
drwxr-xr-x 6 root root 4096 May 9 2007 reports
drwxr-xr-x 6 root root 4096 May 9 2007 sales
drwxr-xr-x 6 root root 4096 May 9 2007 sharedata
drwxr-xr-x 6 root root 4096 Oct 15 2007 shpg_docs
drwxr-xr-x 6 root root 4096 Oct 15 2007 stock
[root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: cd: /mnt/newdisk/ibays/account: Not a directory
[root@sme1 ~]# [root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: [root@sme1: command not found
[root@sme1 ~]# -bash: cd: /mnt/newdisk/ibays/account: Not a directory
-bash: -bash:: command not found
[root@sme1 ~]#
I do not see any @ in a folder name.
Why are the symlinks there? Is the target they are linked to mounted?
-
thank again, the @ or * can only be seen when using mc & yes the newdisk/ibays/account is on a mounted drive. The only strange thing is that , the account folder can't access , but the other which are without @ sign hee and namecard are able to access normally . will it help if I forward the boot log to you?
Raymond :P
-
thank again, the @ or * can only be seen when using mc & yes the newdisk/ibays/account is on a mounted drive.
Ah, ok, you were using midnight commander.
The only strange thing is that , the account folder can't access , but the other which are without @ sign hee and namecard are able to access normally .
Perhaps a privileges/onership problem? What is the output of ls -la /mnt/newdisk/ibays/
will it help if I forward the boot log to you?
No I don't think we find any clues there as you mention that other folders on the mounted drive are accessible.
-
I see that account folder is not root root , but root www, is that the problem? what can do ?
[root@sme1 ~]# ls -la /mnt/newdisk/ibays/
total 208
drwxr-xr-x 7 root root 4096 Dec 10 13:22 .
drwxr-xr-x 5 root root 4096 Mar 5 2008 ..
-rwxrw---- 1 root www 184320 May 20 2008 account
drwxr-xr-x 6 root root 4096 Jun 27 17:17 dacbackup
drwxr-xr-x 6 root root 4096 Aug 6 12:48 hee
drwxrwxr-x 5 admin address_book 4096 Feb 26 2008 namecard
drwxr-xr-x 5 root root 4096 Dec 10 13:30 service
-
I see that account folder is not root root , but root www, is that the problem?
No I don't think so as it seems that the permissions are wrong (as well):
-rwxrw---- 1 root www 184320 May 20 2008 account
What happens after you do:
chmod 755 /mnt/newdisk/ibays/account
-
[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
-
Hi :lol:
any good new, for problem , thks
-
Hi :lol:
any good new, for problem , thks
Sorry, I do not understand above. Could you perhaps clarify?
-
thanks, I tried to chmod , below is result that the account folder is a Read only file system.
[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
-
thanks, I tried to chmod , below is result that the account folder is a Read only file system.
[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
And what when you retry it after this:chown root:root /mnt/newdisk/ibays/account
-
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
please.. post your fstab file and the result of
mount
ciao
Stefano
-
still the same, can't access, I am really worry now, hope you could help . thanks
[root@sme1 ibays]# chown root:root /mnt/newdisk/ibays/account
[root@sme1 ibays]# cd account
-bash: cd: account: Not a directory
[root@sme1 ibays]#
-
still the same, can't access, I am really worry now, hope you could help . thanks
[root@sme1 ibays]# chown root:root /mnt/newdisk/ibays/account
[root@sme1 ibays]# cd account
-bash: cd: account: Not a directory
[root@sme1 ibays]#
What is your working directory? Did you already try removing the symlink and recreating it? What is the answer to nenonano's post?
-
I did not do anything to it , it just happen when I found that i can't add or remove any files or folder from this directory. could sent the link to nenonano's post.
thanks
-
I did not do anything to it , it just happen when I found that i can't add or remove any files or folder from this directory. could sent the link to nenonano's post.
thanks
The one previous to mine, look,I think you can look that one up yourself, it is in this thread.
-
hi, can't find any answer from nenonano's post , any other thread or anyone you know that could seek help.
-
hi, can't find any answer from nenonano's post , any other thread or anyone you know that could seek help.
Sigh, come on. Read. It is a post in this thread, I do not think that is to hard to find: http://forums.contribs.org/index.php/topic,42852.msg202922.html#msg202922
-
Summary
- the root ibay folder for the ibays "accounts", "hee" and "namecard" are all symlinks to mounted filesystems (note: midnight commander (MC) shows this by displaying an "@" in front of the filename)
- the symlink target - /mnt/newdisk/ibays/account - is currently read only. Attempts to change the permissions on the mount point return "read only file system"
- raycheng has not posted the information requested by neonano and cactus in these (http://forums.contribs.org/index.php/topic,42852.msg202922.html#msg202922) posts (http://forums.contribs.org/index.php/topic,42852.msg202966.html#msg202966).
- raycheng has changed the problem description:
- original problem description (http://forums.contribs.org/index.php/topic,42852.msg202750.html#msg202750) "I cannot access my ibays"
- latest problem description (http://forums.contribs.org/index.php/topic,42852.msg202946.html#msg202946) "i can't add or remove any files or folder"
Advice
- Try not to waste the time of people providing free support on the forum - if you alienate the people helping you they are likely to stop responding. Nothing alienates a volunteer support person as much as completely ignoring their requests, then re-asking the same questions.
- Tell us which problem you are actually experiencing - the original problem, or the latest problem. That is, are you unable to access the ibay(s) in question, or are you simply unable to add or remove files and folders?
- Post the requested information in your next response. Do not re-post any new questions or comments until you have posted the information already requested.
In your NEXT post
- run the command cat /etc/fstab and post the results
- run the command mount and post the results
- Enter the words "My problem is" followed by one of the following letters:
- A if you are unable access any of the symlinked ibays
- B if you are unable to add or remove files and folders from any of the symlinked ibays
- C if the problem has changed since we started working on this issue - from "unable to access" to "unable to add or remove"
- D if none of the above EXACTLY DESCRIBES your problem (Don't elaborate, you'll get more questions if it becomes necessary).
-
sorry for all the trouble , I will get back to all of you as I do not have access to the server during the week end.
1. I cannot access the account ibays , in whatever ways i try to. as you can see it prompt that it was not a directory.
2. few days ago when account ibays was accessable , the error was diskspace low and I cannot add , rename , create files but able to read.
I m still very new to SME , appreciate all your help and I m willing to learn as much as i can to contribute back to this forum.
thanks again
-
Sorry to trouble again,
Problem : Server bootup error , wrong filesystem.
1. can't edit fstab , read only
2. can't chmod from the Repair filesystem shell
Question : how to force chmod on fstab on Repair filesystem shell.
appreciate your help , thank very much from fresh meat
-
Sorry to trouble again,
Problem : Server bootup error , wrong filesystem.
1. can't edit fstab , read only
2. can't chmod from the Repair filesystem shell
Question : how to force chmod on fstab on Repair filesystem shell.
appreciate your help , thank very much from fresh meat
If you have another problem, please open a new thread and be as detailed as possible. Do not use one thread for multiple (unrelated) problems