General :: Remains In 'readonly Despite Rwx In /dev/sda And Does Not Accept To Copy Into It?
Jun 26, 2010remains in 'readonly despite rwx in /dev/sda and does not accept to copy into it. mounted correctly.
View 3 Repliesremains in 'readonly despite rwx in /dev/sda and does not accept to copy into it. mounted correctly.
View 3 RepliesI had Fedora 7 and Windows-XP dual operating system. Few weeks ago, there was GRUB error. Now I want to install Fedora 14, but before it I want to back up all data in one external hard drive. I used Fedora 13 live-CD I could access all the drive formatted as NTFS, but I couldn't access /home and the drive formatted (ext2) and owned by the user-name.
Please, inform if there is any idea to copy my files that remains in the home folder. (I can see them but copying is prevented)
On one of my servers I see this when I log in. What does this mean and how can I get it to go away? Everything seems to work fine, but none of my other machines give this error.
View 5 Replies View RelatedI have usb drive its file system readonly ISO9660. How to format it ?It always says "Readonly FS"
View 2 Replies View RelatedI have a Linksys WRT54G with the Tomato firmware on it. So the system running on the router is Busybox 1.14., which as far as I know is Linux-based. I want to update the busybox to the newest version, using ipkg which is the only package manager it has installed on it. By the way, I use telnet to access the router. So I use # ipkg install (the url to newest busybox release) but at some point it stops and says:
mkdir: cannot create directory '//opt/usr/': Read-only file system
so what can I do? How can I make the filesystem read-write?
I am using linux kernel 2.6.10 after some time one of the file system is becoming read only. Here is the kernel dump
Freeing unused kernel memory: 160k init
kjournald starting. Commit interval 5 seconds
EXT3-fs warning (device hda1): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
[code]....
I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?
View 11 Replies View RelatedNo matter what I do, the SWAP usage remains zero all the time. Is there anything I am missing? In the following case (see attached screenshot) I am running make on the kernel that I downloaded. The CPU usage is understandable. But what is the use of Swap when its never used. [URL]. I am on Kubuntu natty. My partitions are as follows:
Kamesh@Galaxy:~$ sudo fdisk -l
[sudo] password for:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x88fa88fa
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9615 77232456 7 HPFS/NTFS
/dev/sda2 9616 19458 79056897 5 Extended
/dev/sda5 9616 18960 75057152 83 Linux
/dev/sda6 18960 19458 3998720 82 Linux swap / Solaris
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs
[code]...
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
Is that possible?That would be ideal scenario.
1-ServerB has id B.
2-workStationA use id B to login.
3-if any other ip other then workStationA tries to log to ServerB with id B, server B will drop the connection.
I am trying to write a file to a SD card in my card reader.When Ubuntu first boots in and I open up the SD card It gives the option to create folders and files. However after a second or two the window closes and then will only let me vew the files.Does anyone know how I can fix this so that the SD card is able to be written to?The lock is not on the SD card, and under permissions it states that I have permission to create and delete files.I am using an up to date version of Ubuntu Lucid Lynx 10.04I have tried searching for a solution but cannot find anything relevant that works
Edit :
output of syslog from removing and reinserting the SD card
Jul 12 19:19:19 p0is0n-desktop kernel: [ 1122.332963] sd 10:0:0:0: [sdd] 3970048 512-byte
[code]....
I am following a gtk2-perl tutorial, so I wrote the test program, installed gtk2-perl, and got this error:
Code:
Can't locate readonly.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at ./test.pl line 7. BEGIN failed--compilation aborted at ./test.pl line 7.
I googled readonly.pm, and figured out it's part of some Readonly module.But how do I install it? Preferably using the Arch package manager?
i have to agree the term of agreement before runing it becase i want to automate my installation with a scripti have already tried "yes | ./myfile " but the problem is the agreement is more than one page and i need to hit space couple of times .. so it's not working .
View 7 Replies View RelatedI have a system in which I want to have /etc in a read-only filesystem. What can I do with mtab? It gets write at /etc/init.d/mountall.sh (that is, /etc/rcS/S35mountall.sh)
View 3 Replies View Relatedi was using ubuntu 9.04 . i had changed fstab mount option of my ubuntu partition from exec,utf8 to executf8.now i cant get the gui of my ubuntu . only command line appears and i cant edit fstab even from root. it says that the filesystem is readonly.i tried mount -o remount,rwit does'nt work.if anyone have a methode other than reinstall my ubuntu.
View 3 Replies View RelatedI am a new Ubuntu user running Lucid Lynx and since some time suddenly my /home filesystem (mounted as ext3 on /dev/sda2) goes read-only.Is there a way to mount back the filesystem in the correct way without rebooting the system? I assume I won't be able to unmount the filesystem when I am logged on.
View 9 Replies View RelatedWe have upgraded CentOS release 5.6 (Final) with 2.6.18-238.9.1.el5 kernel. After the reboot all configuration files under /etc became READONLY. my file system's still in rw mode.code...
View 2 Replies View RelatedI am not a new user of linux but the last time I used linux was five years ago.
I am having a hard time using less. It dont want to accept commands immediately. I need to press 'Enter' to accept the command.
Like if I press 'q' to quit, it will echo 'q' and dont do anything. I have to press 'Enter' to make it quit. Same with other commands.
I am using Windows PuTTy 0.60 with ssh to connect to linux machine.
The linux system is: Linux <removed> 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
The less version is :
less 394
Copyright (C) 1984-2005 Mark Nudelman
I dont have any problem with vim and more. Only with less.
I have also tried changing the TERM from xterm to vt100. But still the same problem with less.
Using Debian Lenny
OpenOffice 2.4
I'm trying to fill in an application form that I downloaded. It has some shaded areas where I can answer questions, but there are
a couple places where the shaded areas are missing.Have you previously applied with the C.B.E? "Readonly content cannot be changed No modifications will be accepted." Can I add a shaded area in so I can fill this in, or can I disable the read only part?
I installed webmin, and I tried to access it with my account (not root, but able to sudo) and I always got login failed.Now I have Access Denied even to my login page for too many tries. What should I do?
View 1 Replies View RelatedI have a Redhat server that it is allowed rcp file from remote server, it is strange that after I modified the .rhosts, the server is no longer to accept rcp file , even I use other user to rcp files , the error is still "Permission denied", can advise what is wrong ? what daemon that I can try to restart ?
View 5 Replies View RelatedWhen I was trying to configure PAM on a RHEL5 system, I put the following configure in /etc/pam.d/system-auth:
password requisite pam_cracklib.so minlen=15 try_first_pass retry=3 dcredit=-3
The option dcredit take effect, as a normal account I cannot enter a password that has less than 3 digits, but minlen=15 does not. I can still enter a password with the length about 12 characters.
I'm learning to configure tftp-server and using vi editor - google search not helpful at least what comes up first - maybe different in Fedora ?
[url]
Code:
But . . . vi editing etc/shadow I get . . . E45: 'readonly' option is set (add ! to override)
In INSERT MODE - do I add ! as !wq instead of :wq as I found in google search (that's NOT working) - - or - do I add ! on the line to set tftp server password to * -or - what?
Why does ping see audit.median.hu as 127.0.0.0, and why does host -t a audit.median.hu see it as 193.68.35.149? audit.median.hu is just an example site [hosts ads, etc.]
I just have a caching nameserver on my Fedora PC:
I configured my DNS server addresses in the Network-Manager Applet: 127.0.0.1, 8.8.8.8
Even with Wireshark, I can see it:
So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?
I am using a ubuntu 10.10 desktop,i cannot login to my system it doesnt accept the password. when i login in safe mode i get through but when i run any command i get segmentation fault.
View 5 Replies View RelatedSo I made a neat little fluxbox distro(another one?) actually its the latest incarnation of 503box
Anyway; with Debian Live (which its made from) one of the boot parameters is[url]
Boot in TORAM mode, as you see there above link..Specifically I used
Code:
Which isnt listed but actually works better as it only boots the compressed fs into RAM
Using just "toram" the whole cd/iso,etc is booted into RAM
Anyway; so for some reason the memory usages are about the same no matter whether booting toram
or not?
Heres Proof; using "free"
Environs- at each boot I am booting off 2GB fat32 usb on a Desktop PC.
Heres Debian's default live boot not toram, no persistent (usb mounted)
[url]
so it using about 80MB RAM?
Heres in toram/no persistent mode(no drives mounted...usb/cd removable)
[url]
How that be red?
The squashfs filesystem is 340MB shot into ram so why isnt the mem usage higher?
Heres some more pics- note that all the mem usage is about the same..
At boot it gives message when using toram mode
Code:
I have a Windows 2003 server with fiber attached volumes (NTFS) that I would like to mount readonly on a linux system to back it up to tape. The fiber device will allow me to present the volume R/W to one host and R/O to another, however, the R/O system doesn't see any of the changes made by the R/W server. In other words, how can I make a readonly volume refresh, scan for changes, or update without un/re-mounting it?
Is the "mount -o --bind" option what I want? From the MAN is doesn't seem right... the option "sync" seems slightly more promising but I think I'm just grasping at straws here. The best I have come up with is a cron job to unmount then mount the volume periodically.
This is my first day with Debian, I have used other distros, and am a long time linux user. My HP D 1600 series is recognized, but when I try to print a test msg. it says sent, but the printer remains idle. I have tried everything I know. When I run the trouble shooter I get this. /// /usr/lib/cups/backend/hp failed////
In the past when having a printer problem I have installed HPLIP-gui and removed the printer then re-installed it. That has not worked and I cannot even remove the printer.
When I boot without the AC cable plugged in the Power Applet says I am on AC power (but the notebook is of course running on battery power). Which is bad because I don't know how much battery time still remains. Strangely, when I boot on AC Power and then remove the AC cable both the fact that battery power is used and the remaining battery time is shown correctly. Also when I boot into battery power and then plug in the AC cable it correctly shows that the battery is charging and how long it takes until fully charged. I use Ubuntu 10.10, 32bit on an Acer Aspire One 751 if that helps. The problem has also existed in Ubuntu 10.04 and I hoped the update would solve it but it did not.
View 3 Replies View Related