March 2, 201016 yr I am trying to delete a folder via terminal. i think im doing it right but i dont use the terminal often. i took ownership with: chown -R root /mnt/disk8/ZERO/FOLDER and set permissions with: chmod -R 777 /mnt/disk8/ZERO/FOLDER then deleted it with: rm -R /mnt/disk8/ZERO/FOLDER it keeps saying its read only. am i doing something wrong?
March 2, 201016 yr I am trying to delete a folder via terminal. i think im doing it right but i dont use the terminal often. i took ownership with: chown -R root /mnt/disk8/ZERO/FOLDER and set permissions with: chmod -R 777 /mnt/disk8/ZERO/FOLDER then deleted it with: rm -R /mnt/disk8/ZERO/FOLDER it keeps saying its read only. am i doing something wrong? The command to remove a directory is rmdir directory_name
March 3, 201016 yr Author wow, ok now im getting some weird stuff. i was trying to copy some stuf to my server and i am getting a permission denied. cant create a folder either. i checked the terminal and syslog and got tons of this: Mar 2 17:44:35 zero kernel: REISERFS error (device md8): vs-4080 _reiserfs_free_block: block 208797957: bit already cleared here is the entire log: http://www.mediafire.com/?h02iho1m2u0 im clueless. ran a rfscheck through the webui but i dont think it did anything.
March 3, 201016 yr The command to remove a directory is rmdir directory_name Joe, the command he is using is perfectly fine "rm -R /mnt/disk8/ZERO/FOLDER" will remove FOLDER and any files still left in it. rmdir will NOT remove the folder if there are still any files left in it. I personally find rmdir quite useless and just stick with rm -r (unless of course you always want to play it extra safe). bobbintb, that filesystem isn't mounted read only is it? Usually when a linux filesystem starts having too many errors or something bad happens it will get remounted by the kernel as read only. Not sure how unraid handles that though.
March 4, 201016 yr Author well, i popped the disk into a linux machine and ran gparted. all my problems are fixed now. i cen never seem to use the terminal in unraid properly. on that note, anyone know how i can add ubuntu to the syslinux on the unraid flash? ive tried unsuccessfully before. alway sends up with something broken.
March 6, 201016 yr Your best bet is probably installing the full Slackware distro with unraid. I wouldn't try any other distros such as ubuntu unless you are VERY skilled at linux. Slackware (and unraid) use a different init system than most other linux distros so you would end up doing a lot of changing to get it working on something else. I followed the wiki on installing slackware with unraid and it was surprisingly easy. The way the wiki is formatted makes it look really hard and a couple of things were wrong. But for the most part it was easy and works pretty much like unraid does on it's own. Give that a try.
March 6, 201016 yr Author Your best bet is probably installing the full Slackware distro with unraid. I wouldn't try any other distros such as ubuntu unless you are VERY skilled at linux. Slackware (and unraid) use a different init system than most other linux distros so you would end up doing a lot of changing to get it working on something else. I followed the wiki on installing slackware with unraid and it was surprisingly easy. The way the wiki is formatted makes it look really hard and a couple of things were wrong. But for the most part it was easy and works pretty much like unraid does on it's own. Give that a try. good advice. thanks.
Archived
This topic is now archived and is closed to further replies.