Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 55

Thread: Tower's BtrFS has gone ReadOnly... again... yet again.

  1. #21
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Quote Originally Posted by GooeyGirl View Post
    OMZ, you made this just for me? That's sensational; thanks for your kindness. Later today i shall test it & let you know.
    Well, i have good news, puzzling news, & ultimately bad news.

    Good:
    When installed & tested in an ext4 TW VB VM, Timeshift runs perfectly, works perfectly, is a great success.

    Puzzling:
    When installed into my real TW on Tower, ie, the very recently reinstalled clean ext4 TW, Timeshift GUI simply refuses to appear. I can run TS in Konsole, but not graphically.

    Bad:
    The preceding news is ultimately irrelevant, once i discovered a major show-stopping problem. Creating a TS snapshot in my real TW is unworkable. At only 2% completion the TS snapshot had already grown to be 40 GiB & had nearly consumed all free space in my /. At that point i aborted it, & will not be able to use TS.

    Following are the logs from my VM, & then from Tower itself, with my explanatory comments inserted fyi.

    Code:
    VM:
    
    gooeygirl@linux-sr0s:~> sudo zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/timeshift-17.11+git20171129-1.1.x86_64.rpm
    [sudo] password for root: 
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    
    The following 2 NEW packages are going to be installed:
      libgee-0_8-2 timeshift
    
    
    2 new packages to install.
    Overall download size: 690.9 KiB. Already cached: 0 B. After the operation, additional 3.3 MiB will be used.
    Continue? [y/n/...? shows all options] (y): 
    Retrieving package libgee-0_8-2-0.20.0-1.3.x86_64                                                                           (1/2), 237.8 KiB (874.6 KiB unpacked)
    Retrieving: libgee-0_8-2-0.20.0-1.3.x86_64.rpm ............................................................................................................[done]
    Retrieving package timeshift-17.11+git20171129-1.1.x86_64                                                                   (2/2), 453.2 KiB (  2.5 MiB unpacked)
    timeshift-17.11+git20171129-1.1.x86_64.rpm:
        Header V3 RSA/SHA256 Signature, key ID 97090d5e: NOKEY
        V3 RSA/SHA256 Signature, key ID 97090d5e: NOKEY
    
    
    timeshift-17.11+git20171129-1.1.x86_64 (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available]
    Abort, retry, ignore? [a/r/i] (a): i
    Checking for file conflicts: ..............................................................................................................................[done]
    (1/2) Installing: libgee-0_8-2-0.20.0-1.3.x86_64 ..........................................................................................................[done]
    (2/2) Installing: timeshift-17.11+git20171129-1.1.x86_64 ..................................................................................................[done]
    Additional rpm output:
    warning: /var/cache/zypper/RPMS/timeshift-17.11+git20171129-1.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 97090d5e: NOKEY
    
    
    
    
    gooeygirl@linux-sr0s:~> zypper if libgee*
    Loading repository data...
    Reading installed packages...
    
    
    
    
    Information for package libgee-0_8-2:
    -------------------------------------                                                                                                                            
    Repository     : openSUSE-Tumbleweed-Oss                                                                                                                         
    Name           : libgee-0_8-2                                                                                                                                    
    Version        : 0.20.0-1.3                                                                                                                                      
    Arch           : x86_64                                                                                                                                          
    Vendor         : openSUSE                                                                                                                                        
    Installed Size : 874.6 KiB                                                                                                                                       
    Installed      : Yes (automatically)                                                                                                                             
    Status         : up-to-date                                                                                                                                      
    Source package : libgee-0.20.0-1.3.src                                                                                                                           
    Summary        : GObject-based library providing commonly used data structures                                                                                   
    Description    :                                                                                                                                                 
        Libgee is a collection library providing GObject-based interfaces and                                                                                        
        classes for commonly used data structures. 
    
    
    gooeygirl@linux-sr0s:~>
    
    
    ### TS ran beautifully in this VM. Launching from Applications Menu correctly brought up the GUI, which has full functionality available. I successfully created a snapshot. then i created a dummy text file in /etc, & a dummy text comment in /etc/fstab. Then i initiated a snapshot-restore, which correctly launched & ran. After only a couple of minutes or less, it finished & rebooted. Once logged back in, all was good, & those 2 dummy test changes were gone... ie, the system was recovered. This is great !
    [[[contd]]]

  2. #22
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Code:
    TOWER:
    
    
    gooeygirl@linux-Tower:~> sudo zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/timeshift-17.11+git20171129-1.1.x86_64.rpm
    [sudo] password for root: 
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    
    The following NEW package is going to be installed:
      timeshift                                          ### Uh oh, why did it not also install libgoo?
    
    
    1 new package to install.
    Overall download size: 453.2 KiB. Already cached: 0 B. After the operation, additional 2.5 MiB will be used.
    Continue? [y/n/...? shows all options] (y): 
    Retrieving package timeshift-17.11+git20171129-1.1.x86_64                                                                                               (1/1), 453.2 KiB (  2.5 MiB unpacked)
    Checking for file conflicts: ..........................................................................................................................................................[done]
    (1/1) Installing: timeshift-17.11+git20171129-1.1.x86_64 ..............................................................................................................................[done]
    
    
    
    
    gooeygirl@linux-Tower:~> timeshift                 ### Silly me, i forgot i needed to run as sudo.
    
    
    Timeshift v17.11 by Tony George (teejeetech@gmail.com)
    
    
    Syntax:
    
    
      timeshift --check
      timeshift --create [OPTIONS]
      timeshift --restore [OPTIONS]
      timeshift --delete-[all] [OPTIONS]
      timeshift --list-{snapshots|devices} [OPTIONS]
    
    
    Options:                                                                                                                                                                                     
                                                                                                                                                                                                 
    List:                                                                                                                                                                                        
      --list[-snapshots]         List snapshots                                                                                                                                                  
      --list-devices             List devices                                                                                                                                                    
                                                                                                                                                                                                 
    Backup:                                                                                                                                                                                      
      --check                    Create snapshot if scheduled                                                                                                                                    
      --create                   Create snapshot (even if not scheduled)                                                                                                                         
      --comments <string>        Set snapshot description                                                                                                                                        
      --tags {O,B,H,D,W,M}       Add tags to snapshot (default: O)                                                                                                                               
                                                                                                                                                                                                 
    Restore:                                                                                                                                                                                     
      --restore                  Restore snapshot                                                                                                                                                
      --clone                    Clone current system
      --snapshot <name>          Specify snapshot to restore
      --target[-device] <device> Specify target device
      --grub[-device] <device>   Specify device for installing GRUB2 bootloader
      --skip-grub                Skip GRUB2 reinstall
    
    
    Delete:
      --delete                   Delete snapshot
      --delete-all               Delete all snapshots
    
    
    Global:
      --snapshot-device <device> Specify backup device (default: config)
      --yes                      Answer YES to all confirmation prompts
      --btrfs                    Switch to BTRFS mode (default: config)
      --rsync                    Switch to RSYNC mode (default: config)
      --debug                    Show additional debug messages
      --verbose                  Show rsync output (default)
      --quiet                    Hide rsync output
      --scripted                 Run in non-interactive mode
      --help                     Show all options
    
    
    Examples:
    
    
    timeshift --list
    timeshift --list --snapshot-device /dev/sda1
    timeshift --create --comments "after update" --tags D
    timeshift --restore 
    timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
    timeshift --delete  --snapshot '2014-10-12_16-29-08'
    timeshift --delete-all 
    
    
    Notes:
    
    
      1) --create will always create a new snapshot
      2) --check will create a snapshot only if a scheduled snapshot is due
      3) Use --restore without other options to select options interactively
      4) UUID can be specified instead of device name
      5) Default values will be loaded from app config if options are not specified
    
    
      
    
    
    gooeygirl@linux-Tower:~> kdesu timeshift    ### Timeshift GUI still did not appear. I tried this coz previously trying to launch its GUI from Applications Menu failed; after entering my root password in the usual popup, nothing else occurred. 
    
    
    
    
    
    
    gooeygirl@linux-Tower:~> sudo timeshift --check
    [sudo] password for root: 
    First run mode (config file not found)
    Selected default snapshot type: RSYNC
    
    
    (process:29346): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
    
    
    (process:29346): Gtk-CRITICAL **: gtk_icon_theme_append_search_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed
    Selected default snapshot device: /dev/sda2
    Scheduled snapshots are disabled - Nothing to do!
    ------------------------------------------------------------------------------
    
    
    
    
    # Here, i launched YaST2 & uninstalled Timeshift, preparatory to trying a reinstallation, as follows.
    
    
    
    
    gooeygirl@linux-Tower:~> sudo zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/timeshift-17.11+git20171129-1.1.x86_64.rpm
    [sudo] password for root: 
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    
    The following NEW package is going to be installed:
      timeshift                      ### Still no libgoo; is it possibly already installed?
    
    
    1 new package to install.
    Overall download size: 453.2 KiB. Already cached: 0 B. After the operation, additional 2.5 MiB will be used.
    Continue? [y/n/...? shows all options] (y): 
    Retrieving package timeshift-17.11+git20171129-1.1.x86_64                                                                                               (1/1), 453.2 KiB (  2.5 MiB unpacked)
    Checking for file conflicts: ..........................................................................................................................................................[done]
    (1/1) Installing: timeshift-17.11+git20171129-1.1.x86_64 ..............................................................................................................................[done]
    
    
    
    
    
    
                          
    gooeygirl@linux-Tower:~> zypper if libgee*
    Loading repository data...
    Reading installed packages...
    
    
    
    
    Information for package libgee-0_8-2:
    -------------------------------------
    Repository     : Main Repository (OSS)                                        
    Name           : libgee-0_8-2                                                 
    Version        : 0.20.0-1.3                          ### Ah, so it is already installed.                         
    Arch           : x86_64                                                       
    Vendor         : openSUSE                                                     
    Installed Size : 874.6 KiB                                                    
    Installed      : Yes                                                          
    Status         : up-to-date                                                   
    Source package : libgee-0.20.0-1.3.src                                        
    Summary        : GObject-based library providing commonly used data structures
    Description    :                                                              
        Libgee is a collection library providing GObject-based interfaces and
        classes for commonly used data structures.
    
    
    gooeygirl@linux-Tower:~> 
    
    
    
    
    ### Given that i cannot get the GUI to run in Tower's version, i decided to see if i can run it & create a snapshot, in Konsole. 
    
    
    
    
    gooeygirl@linux-Tower:~> sudo timeshift --create
    [sudo] password for root: 
    First run mode (config file not found)
    Selected default snapshot type: RSYNC
    
    
    (process:2066): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
    
    
    (process:2066): Gtk-CRITICAL **: gtk_icon_theme_append_search_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed
    Selected default snapshot device: /dev/sda2
    ------------------------------------------------------------------------------
    Estimating system size...
    Creating new snapshot...(RSYNC)
    Saving to device: /dev/sda2, mounted at path: /
    Synching files with rsync...
    2.13% complete (03:02:00 remaining))
    gooeygirl@linux-Tower:~>   ^C             
    
    
    ### Holy cow !!! I aborted this, with 98% still to do, coz the snapshot had already grown to 40 GiB, & thereby consumed all my root spare room but for 5.9 GiB. Obviously had i not intervened my root would have completely filled, & then what would have occurred? How can this oS TW installation of Timeshift create such a gigantic snapshot? My Lappy's Manjaro KDE's Timeshift [available directly in its repos] has already created 5 snapshots, & their TOTAL is only 20 GiB. It was annoying that the GUI will not launch in Tower, but now that problem seems irrelevant... sadly i cannot use Timeshift "for real" as a quasi-replacement for Snapper, because i simply cannot afford such enormous storage space. This is much more space-hungry even than BtrFS & Snapper was [ie, prior to my recent TW reinstallation as ext4 after the meltdown], because my new root partiton is the same 60 GB allowance as before, & with the weekly btrfs balancing cron job there was usually ~25 GB free. What a great pity. 
    This makes little sense to me. TS in my real TW behaved manifestly different / worse than both my TW VM, & my Lappy's real Manjaro KDE.

  3. #23
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Quote Originally Posted by karlmistelberger View Post
    Try that:


    Code:
    karl@erlangen:~> curl -Iv http://www.samsung.com/semiconductor/minisite/ssd/download/tools.html
    *   Trying 23.35.102.192...
    * TCP_NODELAY set
    * Connected to www.samsung.com (23.35.102.192) port 80 (#0)
    > HEAD /semiconductor/minisite/ssd/download/tools.html HTTP/1.1
    > Host: www.samsung.com
    > User-Agent: curl/7.57.0
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
    < Content-Type: text/html
    Content-Type: text/html
    < Content-Length: 64099
    Content-Length: 64099
    < Date: Thu, 07 Dec 2017 05:18:49 GMT
    Date: Thu, 07 Dec 2017 05:18:49 GMT
    < Connection: keep-alive
    Connection: keep-alive
    < Set-Cookie: country_codes=de; path=/; domain=.samsung.com
    Set-Cookie: country_codes=de; path=/; domain=.samsung.com
    < Set-Cookie: device_type=pc; path=/; domain=.samsung.com
    Set-Cookie: device_type=pc; path=/; domain=.samsung.com
    
    < 
    * Connection #0 to host www.samsung.com left intact
    karl@erlangen:~>
    Thanks Karl, but sorry to ask... what is that procedure actually going to do? I don't like to initiate commands without knowing more or less what is supposed to then occur.

  4. #24
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    290

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Quote Originally Posted by GooeyGirl View Post
    Thanks Karl, but sorry to ask... what is that procedure actually going to do? I don't like to initiate commands without knowing more or less what is supposed to then occur.
    What's curl used for?

    curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications affecting billions of humans daily.

    https://curl.haxx.se/
    Intel i3-4130, ASRock Z87 Pro 3, 16GB DDR3-1600, Samsung 840 EVO 250GB, Seagate ST2000DM001 2 TB (ass. in 2014) Tumbleweed
    Intel i7-6700K, ASRock Z170 Pro 4S, 32GB DDR4-2166, Samsung 950 PRO 512GB, Western Digital WD40EZRX 4 TB (ass. in 2016) Tumbleweed

  5. #25
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    No, i know it is going to transfer data... but what data, & what happens with it? Is this a passive process, or is some change going to be made to my system as a result of this command string?

    I did actually ask
    what is that procedure actually going to do?
    I did not ask
    What's curl used for?
    I have read curl --help, but the I & v options just confuse me [well, not the v so much, but what is it going to be verbose about?].
    -I, --head Show document info only
    So it's going to show me info about a doc, but not the actual doc itself?

    Whoever writes the man & help pages needs to consider that not everyone reading them is already a Linux expert. So i read it, but i don't understand it. There's the web address in that command, so is it simply going to print the html content of that page in Konsole? Why does that web address not display in several web browsers i tried? It's all mysterious to me.

  6. #26
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    This makes little sense to me. TS in my real TW behaved manifestly different / worse than both my TW VM, & my Lappy's real Manjaro KDE.
    Hey, i just had an idea. The TS GUI is easy to understand & use, & thereby easy to configure exactly what to include & exclude from the snapshots. But coz the GUI refuses to launch in Tower, & i as mentioned tried it just in Konsole, maybe that CLI method has defaults set to include everything in the snapshots, not just root? If so, then it might have included also my /home, &/or my 2 TB HDD... in which case of course the snapshot would be gigantic.

    So maybe it is actually critical to deduce what is blocking the GUI? Once i can be certain that it is only snapshotting my root, then i can correctly assess its usability.

  7. #27
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    16,689
    Blog Entries
    13

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Can you start the GUI command from a terminal window? And then look at the output or errors in the terminal window ? Post it here

    Had a glance at the options output, I think you need to specify the snapshot-device
    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #28
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    16,689
    Blog Entries
    13

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Think I found the culprit: the command in the menu entry is 'timeshift-launcher' , change that to 'kdesu timeshift-launcher' and here's your GUI.
    BTW, the GUI is a frontend to rsync, you could use that
    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #29
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,205
    Blog Entries
    15

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Quote Originally Posted by Knurpht View Post
    Think I found the culprit: the command in the menu entry is 'timeshift-launcher' , change that to 'kdesu timeshift-launcher' and here's your GUI.
    BTW, the GUI is a frontend to rsync, you could use that
    Hi
    Nooooo, it uses pkexec and policy kit to launch the GUI, note it worked in a VM, so it's system related...

    @GooeyGirl is polkit installed (which contains pkexec)?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #30
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    16,689
    Blog Entries
    13

    Default Re: Tower's BtrFS has gone ReadOnly... again... yet again.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Nooooo, it uses pkexec and policy kit to launch the GUI, note it worked in a VM, so it's system related...
    Stupid me. Didn't even check whether it would launch without ( which it does nicely ).
    ° Appreciate my reply? Click the star and let me kow why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 3 of 6 FirstFirst 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •