[Solved]please help with btrfs read only filesystem

Yesterday I deleted a snapshot using the command
sudo btrfs subvolume delete /snapshot-2014-**-**
in which the snapshot-... is a snapshot I created eariler. But a few hours later I suddenly found that the file system became read-only. I reboot and the message stuck at mounting /dev/sda1 and failed, into an emergency shell, saying something like "no subvolume is find". I tried to mount /dev/sda1 using a rescue usb stick but still failed...
I have been using the same command to create and delete snapshots for several months without problem, but this time... I don't know what was I doing wrong, maybe I mistyped something this time?
So... How could I recovery the filesystem? I've searched for a bit but cannot find any satisfied result.
EDIT: I re-installed the system.
Last edited by Frefreak (2014-09-27 10:39:45)

LoBo3268715 wrote:Just gonna take a stab at what you want to do here but I assume you want to switch to the ATI card correct? using open source drivers? Google around for vgaswitcharoo. It can be a royal PITA but I got it working with my intel integrated card and ATI mobility 5650. Also there is a package in the AUR for this. https://aur.archlinux.org/packages.php?ID=51704
Yes, that's exactly what I'm trying to achieve. Thanks for the advice, I will explore all the possibilities with vga_switcheroo

Similar Messages

  • [SOLVED] Strange Hard Drive Errors - Read Only Filesystem?

    Solution: Discard old laptop, buy new laptop
    I have an Acer Aspire 5103WLMi. For about 2 months now, Arch has been running smoothly. Until 2 weeks ago.
    It all started when I tried to install and configure autofs on Arch x86_64. On the next reboot, all manner of errors were printed to the screen, to the effect that the internal hard drive was only being mounted read-only, rendering the system unusable. I tried to find a solution, but there were no references to read-only anywhere; fstab, grub etc. None that I could find.
    I tried reinstalling. However, x86_64 Arch refused to boot properly first time due to the exact same error; and I *know* that I'm configuring everything correctly. I managed (somehow) to coerce i686 Arch to install, and things "work".
    Seemingly out of the blue, during normal operation, all running applications will stop, and spit out error after error to the effect of "Cannot Write to Read Only Filesystem!". Sakura won't load (Input/Output error, apparently), and the only way to shut down the laptop is a hard reset (I can't log in as root or use sudo because it wants to write to the filesystem first, which it obviously can't.
    Now, I'm going to be giving the insides of this laptop a good cleanout this weekend, and I'm in the process of backing up all of my data, but I was wondering if anyone else has come across a similar form of misbehaviour; or (with a bit of luck) some potential solutions?
    This is very peculiar, because there seems to be no reason why the laptop suddenly loses write permissions to the hard drive. Cheers.
    Edit: I think I should point out that my /boot partition is Ext2, and / and /home are Ext3
    Last edited by aphirst (2013-03-27 14:51:38)

    Smartctl gives me the impression it's my Hard Drive:
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1711
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 6194
    5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
    7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 3291
    10 Spin_Retry_Count 0x0033 223 100 030 Pre-fail Always - 0
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1218
    192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 294
    193 Load_Cycle_Count 0x0032 088 088 000 Old_age Always - 123904
    194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 34 (Lifetime Min/Max 15/62)
    196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 17
    220 Disk_Shift 0x0002 100 100 000 Old_age Always - 118
    222 Loaded_Hours 0x0032 094 094 000 Old_age Always - 2425
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
    224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
    226 Load-in_Time 0x0026 100 100 000 Old_age Always - 444
    240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
    Everything being either Old_age or Pre-fail is not encouraging. Additionally, in the output is what I believe to be records of what caused my strange read-only behaviour:
    Error 19 occurred at disk power-on lifetime: 3287 hours (136 days + 23 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    84 51 01 11 18 6a e1 Error: ICRC, ABRT 1 sectors at LBA = 0x016a1811 = 23730193
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    c8 00 48 c4 17 6a e1 00 04:43:08.023 READ DMA
    c8 00 48 14 e3 69 e1 00 04:43:08.022 READ DMA
    c8 00 a0 5c e2 69 e1 00 04:43:08.010 READ DMA
    c8 00 08 9c e5 69 e1 00 04:43:08.010 READ DMA
    c8 00 20 5c e5 69 e1 00 04:43:08.009 READ DMA
    Could this truly be referring to my problem, since the 'logs' show that the *exact same* error occurred many times.
    Not that this tells me how to fix it...
    Well, if anyone knows if there is a solution, I'd love to know. If the only solution is to ditch the Hard Drive, fair enough. Either way: I'm backing up all of my important data ASAP.
    Cheers.
    Oh, and kclive18, after I noticed that I couldn't get onto my Drive, I reinstalled arch, leaving no trace of /etc/autofs/auto.media.
    Additionally, somehow I have now been able to install Arch x86_64, but the problems still occur...

  • Please help with adobe reader

    hello, hopefully i have post the correct forum.
    all my computer file even ie/firefox or chrome, when i try to open all file open with adobe, but can't not even open, so i need to uninstall the adobe reader 10 and everything goes to normal.
    but i need the adobe reader on my computer, please anyone can help me to go back normal and re install the adobe
    i know i did something wrong and all my exe.file can't read and somehow now it working but not the adobe
    sorry, i don't kno how to explain
    please help me to re install adobe reader
    thank you so much

    Are you using Windows 7 or Vista?
    If so, recreating the user profile may help to resolve the issue.

  • Please Help with Adobe Reader as I can't open it on most of my downloads?

    I can't open my downloads from Adobe Reader.
    Some are ok most can't open. Please Help.
    Thanks,
    Jerry
    [Removed personal information]
    Message was edited by: sinious

    Which OS? Which Reader version?
    What exactly you mean by downloads? downloaded pdf files?

  • Please help with Overdrive reader

    I use Overdrive to read digital books from my library. After changing to a new iPhone, I was not able to download any books using the Adobe ID. The message I get is "This Adobe ID has been authorized too many times". Does anyone know why this happened and how I would get pass it?
    Thanks!

    You can only have up to 6 devices authorized at any one time.
    If you still have access to another device you no loger use, deauthorize it, and this should free up a slot for the iPhone.
    If you can't do that, or it it doesn't free up a slot
    Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html,
    or as a slight short cut try http://helpx.adobe.com/contact.html?product=digital-editions&topic=using-my-product-or-ser vice
    Choose topic ‘'Signing into my Account' , and then click on 'I still need help';
    then you should see 'Chat with an Agent' at the bottom of the page.
    Depending on screen resolution, you may need to scroll down a bit to see the Chat with an Agent' bit, just under 'Ask our Experts'.
    'Ask our experts' will indeed just lead you back to this forum.
    Sometimes you will get ‘Sorry! All agents are busy— please check back soon.’
    Don’t refresh the page, just hang on and it should eventually go to ‘Chat Now, and agent is available’.
    They can reset your authorizations, and then you must reauthorize any devices you still need.
    (Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
    Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
    in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
    If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations  (E_ACT_TOO_MANY_ACTIVATIONS) .  Thanks to AJP_Bear for that tip.
    ~

  • Please help with file reading component

    i am currently writing a program in which i need to have a JTable
    which displays data from a text file which can be selected from an
    option via a JList. I can get the info from the file into the JTable
    but for some reason which i can't figure out! the file reading method
    which i have written to read the data in the text file keeps reading the text file twice so i am getting duplicate data in the JTable. it may
    be easier to understand with the code i have supplied for the ListListener and the file reading method. the text file which is to be read contains data in the form - aName%anAddress%aBirthdate%aGender
    here is the code:-
    //class listening for JList selection
    class ListListener implements ListSelectionListener{
              public void valueChanged(ListSelectionEvent e){
    try{
    //send the selected index to file reading method
                   readFile(fileList.getSelectedIndex());
                   catch(IOException exception){
                   JOptionPane.showMessageDialog(
                                  PeopleJTable3.this,
                                  "File not found", "Error",
                                  JOptionPane.ERROR_MESSAGE);
              }//end of valueChanged
    //method to read a file given a specific index
    public void readFile(int fileNumber)throws IOException{
              BufferedReader keyboard = new
                   BufferedReader(new InputStreamReader(System.in));
    PrintWriter screen = new PrintWriter(System.out, true);
    //declare variables to enable separating the data in the file
    String fileName, name, address, birthdate, gender, line;
    int i=0;
    int lineLength,firstPercent,secondPercent, thirdPercent;
    PersonRecord[] group = new PersonRecord[20];
    final char PERCENT = '%';
    if(fileNumber == 0){
    fileName = new String("datafile.txt");
    //create filereader to read a byte stream from a file
    //oparameter has name of file;
    FileReader fr = new FileReader("datafile.txt");
    //create buffered reader object takes stream of characters
    //from filereader
    BufferedReader in = new BufferedReader(fr);
    line = in.readLine();
    // while (line != null){
    while( !line.equals("0")){
              //find second percentage
              firstPercent = line.indexOf(PERCENT);
              int a = firstPercent + 1;
              while(line.charAt(a) != '%'){
                   a++;
    //find third percentage
              secondPercent = a;
              int b = secondPercent + 1;
              while(line.charAt(b) != '%'){
                   b++;
              thirdPercent = b;
              //extract the name
              name = line.substring(0,firstPercent);
              //extract the address
              address = line.substring(firstPercent + 1, secondPercent);
              //extract the D.O.B.
              birthdate = line.substring(secondPercent + 1, thirdPercent);
    //extract overdraft amount;
    gender = line.substring(thirdPercent + 1, line.length());
    String[] tabEntry = {name,address,birthdate,gender};
    //add this row to JTable
    people.addRow(tabEntry);
    line = in.readLine();
    screen.println(i);//this was used to check that the
    //file was actually being read twice
    //from this method
    i++;
         }//end while loop
    in.close();
    }//end readFile
    if you can tell me why this read the file twice that would be fantastic!
    Cheers
    iain

    oh, that is right... the valueChanged() method will get called twice when you use a mouseclick, but if selecting from the keyboard it will only be called once. I'm not sure why it does that either, but what camickr suggested will fix it.
    Here is my substitution using the StringTokenizer..
    // you will need to import the class
    import java.util.StringTokenizer;
    // this will actually read the entire file until EOF
    while( (line = in.readLine()) != null )
         StringTokenizer st = new StringTokenizer( line, "%", false );
         // make sure there are at least 4 tokens in this line to read
         while( st.countTokens() == 4 )
              name = st.nextToken();
              address = st.nextToken();
              birthdate = st.nextToken();
              gender = st.nextToken();
         String[] tabEntry = {name,address,birthdate,gender};
         //add this row to JTable
         people.addRow(tabEntry);
    } //end while loopHere's the link to the StringTokenizer's API http://java.sun.com/j2se/1.3/docs/api/java/util/StringTokenizer.html
    good luck,
    .kim

  • [SOLVED] Root mounted as "Read-only filesystem". mkinitcpio issue?

    I am currently in the middle of setting up system encryption with LUKS. I have been making good progress so far, but I do have one remaining issue.
    After typing my LUKS password, the Linux kernel starts to complain that root is a read-only filesystem. "Starting NetworkManager... cannot touch file XYZ: Read-only filesystem". When it has finally finished booting, I am dropped into a TTY. I can log in and cat my files, but I cannot write to any files our use any programs that do (like pacman).
    I wonder if this is an mkinitcpio issue, but I am not sure. For whatever it's worth, here's my basic setup:
    * /dev/sda1: Boot
    * /dev/sda2: Swap
    * /dev/sda3: Root (LUKS/ext4)
    * menu.lst looks like this
    * /etc/fstab contains this line:
    /dev/mapper/root / ext4 defaults 0 1
    * /etc/mkinitcpio.conf contains these lines:
    MODULES="ext4"
    HOOKS="base udev pata scsi sata encrypt filesystems"
    edit: I should note that I did reinstall the kernel after making those edits to mkinitcpio.conf.
    Any idea what I'm doing wrong? As always, I really do appreciate the help. Thanks in advance!
    Last edited by jalu (2011-04-16 22:14:20)

    So it looks like this major problem was caused by a minor mistake. The file /etc/rc.sysinit was not executable. This made it impossible for the kernel to run the script, which in turn made it impossible for the kernel to mount /dev/sda2 (the swap partition) at /dev/mapper/swap. For some unknown reason, this in turn caused /dev/sda2 to be mounted at /, messing everything up.
    Anyway, a simple sudo chmod +x /etc/rc.sysinit fixed the problem. Thanks for the help, MadTux!

  • HT201210 cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    If you mean updae server
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    Otherwise what server are you talking about

  • My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    Following the fix here worked for me:
    https://discussions.apple.com/message/15680566#15680566
    except my plist file was in ~/Library instead of /Library.
    -Scott

  • [SOLVED] Appending Quiet forces Read-Only filesystem

    After the update to initscripts I tried to append quiet to the kernel command line of GRUB and it simply causes my system to start-up as a read-only filesystem.
    Last edited by horrormaster (2011-08-01 15:36:21)

    title  Arch Linux x64
    root   (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/disk/by-label/gnu_linux ro rootflags=data=writeback,commit=90,orlov,barrier=0,async
    initrd /boot/kernel26.img
    If I add "quiet" before "rootflags" everything fails to load on boot (udev, mounting HDD rw, alsa, cupsd, etc.) and after all of those it simply states "Read-Only Filesystem". If I add "quiet" after "async" it fails to boot altogether due to an unrecognized option.
    Last edited by horrormaster (2011-08-01 02:04:07)

  • Single User Mode : Read Only Filesystem

    I can't edit files in single user mode as Root. When I try to edit them I get a msg saying "Read Only Filesystem".
    I have tried chmod with no evial. I want to change my .profile as root so cls='clear'.
    Any ideas?
    Also when I try to login to my account in single user mode it says that account does not exist. However I'm in that accunt right now!
    Thank You.

    When you boot up into single user mode, there is a single recognized user -- root. That's why they call it single-user mode and not multi-user mode.
    When you boot up into single user mode, the disk mounts as read-only. You have to make it writeable in order to do anything to it. I forget the actual command but it displays on the monitor nearby where it gives the "fsck" command syntax when you first boot into it. It's something like "mount -uw /" or something to that effect. It is saying to mount the root drive ("/") with user write privileges.
    Then just "pico /Users/Mephux/.profile" (although I profess that I don't understand why you have to edit this file as root).
    (if you find that this solves your problem, or is actually helpful towards arriving at a solution to your problem, please consider clicking on either the "helpful" or "solved" buttons above)

  • Usb stick is "READ ONLY FILESYSTEM"

    hello.
    i have a problem with my USB-Stick. since i gave it to a friend it does no longer work. unix says it is a "READ-ONLY FILESYSTEM". anny sugestions how i could change that?
    it was not possible to reformat it by disk utility. i also tried to format it on a windows machine - didn´t work... any ideas?
    best reagards
    sepoe

    Monkeymeetsrobot's suggestion is the first thing I would have suggested myself -- your original post made no mention of no write-lock switch -- many flash drives have them -- one of mine does and when locked would exhibit that behavior and the other one that doesn't, it still works properly.
    That said, now that we know that yours doesn't have a write-lock switch, maybe you could try this:
    It's a long shot, but what happens when you launch Terminal and type
    ls -ld /Volumes/{usbStickName}?
    If the permissions are not drwxrwxrwx, then, perhaps, from an admin-privileged account, you could
    sudo chmod 777 /Volumes/{usbStickName}
    and with any luck, you will have write privileges again.
    Something to try....no guarantees....
    Short of that, you may be giving your friend a slightly used usb flash drive as a Christmas present.
    (if this solves your problem, or is actually helpful towards arriving at a solution to your problem, please consider marking this reply as "helpful" or "solved," in addition to, if applicable, marking this question as "answered")

  • Read-only filesystem after reinstallation,chmod failure

    I decided to switch to a pure systemd init yesterday. Despite strictly followed wiki my system failed to init with switch to systemd emergency mode with no way to cure the problem. So I followed with reinstallation of my system (32bit on 64bit HW as recently). I went thoroughly according installation wiki, installed and configured the base system and correctly umount-ed chrooted environment. I have reformated primary root and boot partitions with ext4 and ext2 respectively and extended /var partition with reiserfs. My home ext4 partition has left unchanged. Grub has been configured OK when being compared with my two Thinkapd Arch installations. My fstab is correctly set using UUID and explicit rw option. After rebooting from Install CD all seemed going well to login prompt and successfull root login. Next proceedings failed on unchangeble read-only filesystem permissions.
    How can I chmod the partitions to make them writable and add users and use pacman? One fail with systemd is followed with another one with unchangable read-only permissions... Courious and very frustrating... Any help, please? Thanks, Petr

    You'll need to post files, logs etc. if you want help - according to you, everything is correct .
    For example, grub.cfg, fdisk -l or gdisk -l /dev/sdX, fstab...

  • Please help with "You can't open the application NovamediaDiskSupressor because PowerPC applications are no longer supported." I have seen other responses on this but am not a techie and would not know how to start with that solution.

    Please help with the message I am receving on startup ""You can't open the application NovamediaDiskSupressor because PowerPC applications are no longer supported."
    I have read some of the replies in the Apple Support Communities, but as I am no techie, I would have no idea how I would implement that solution.
    Please help with what I need to type, how, where, etc.
    Many thanks
    AppleSueIn HunterCreek

    I am afraid there is no solution.
    PowerPC refers to the processing chip used by Apple before they transferred to Intel chips. They are very different, and applications written only for PPC Macs cannot work on a Mac running Lion.
    You could contact the developers to see if they have an updated version in the pipeline.

  • Reset lost root password and now have read only filesystem

    Hello,
    I have recently had to reset a locked root password by booting from cdrom, mounting the first boot disk, editing the shadow file to remove root's password and rebooting the system.
    The system has booted OK but, I now have a read only filesystem - everything in / cannot be edited, passwd doesnt work etc.
    df -k shows the root (/) filesystem has been mounted on the physical disk I edited:
    Filesystem kbytes used avail capacity Mounted on
    /pci@83,4000/FJSV,ulsa@2,1/disk@0,0:a 10085836 185862 9799116 2% /
    but in the vfstab it still references the disksuite metadevice:
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    /dev/md/dsk/d30 /dev/md/rdsk/d30 / ufs 1 no -
    So, can I simply boot from CDROM again, amend the vfstab to be /dev/dsk/c0t0d0s0 (instead of /dev/md/dsk/d03) and reboot?
    Any help with this is appreciated!
    Thanks,
    Emma

    df -k should have shown root mounted on md0
    e.g. on my machine
    # df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/md/dsk/d0 8260691 4366317 3811768 54% /
    what does /etc/system show for rootdev?
    # grep rootdev /etc/system
    * rootdev: Set the root device. This should be a fully
    * rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
    rootdev:/pseudo/md@0:0,0,blk
    Remember if this is a mirrored drive, when you boot from CD you may need to mount both sides of the mirror and make changes on both sides- otherwise the replication may not goes as expected.
    Actually, I have run into problems with the modifying one side of a mirror this way. In the past Sun tech support would recommend that I break the mirror and then rebuild it once the system is up and running. So in your case you may want to boot from CD, mount the 1st disk slice, edit /etc/vfstab AND /etc/system, boot into the OS and use the various meta commands to delete and rebuild the mirror- or at least maybe to drop and reattach the 2nd 1/2 of the mirror.

Maybe you are looking for

  • All new files and folders show up as READ ONLY

    I am new to the iMac, and am having problems with files an folders. My account is an administrator's account, but when ever I create a new folder, or move a file into it, it shows up as READ ONLY. This is really annoying as I am moving hundreds of fi

  • Not able to access the result set from one member function to another

    Im new to jdbc I have declared a connection object , a result set object and statement object in one member function and i am not able to access these in another member function. But both are in the same class Kindly help Thanks Shasi

  • APEX_MAIL Send Results In A HTML Table

    Apex 3.2 I have wriiten a procedure that sends an email with data from the apex_workspace_activity_log. I would like to try and display this data in a table in the email. Has anybody done this before ? CREATE OR REPLACE PACKAGE BODY EFSAPX.p_monitor_

  • How to set autocommit off???

    We have an application that uses a larger number of pl/sql stored procedures. Some of those use the 'for update' clause. We're now getting some "fetch out of sequence" errors. In researching the documentation, it says that to use a SQL that has 'for

  • Strange problem with 2 different Soundblaster car

    I have a very strange problem with these 2 cards First i had soundblaster li've value which was installed with the default windows drivers. Although it'swas installed correctly in device manager, i hear no sound and when i go to control panel->sounds