[Bug 1849823] Re: zfs usb hdd: i/o is currently suspended after laptop wakeup from suspend

2019-10-25 Thread Mohammad Dahamshi
** Tags added: suspend-resume

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849823

Title:
  zfs usb hdd: i/o is currently suspended after laptop wakeup from
  suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1849823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849823] [NEW] zfs usb hdd: i/o is currently suspended after laptop wakeup from suspend

2019-10-25 Thread Mohammad Dahamshi
Public bug reported:

Hey,
I have an external usb hdd, which is formatted with zfs.

When I suspend my laptop, and wake it up, the state of the pool is
normal, if I try to ls the pool, I get the list of files on it one time,
then the pool freeze

here is the status:


  pool: your-pool
 state: ONLINE
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://zfsonlinux.org/msg/ZFS-8000-HC
  scan: none requested
config:

NAMESTATE READ WRITE CKSUM
your-pool   ONLINE   0 5 0
  sda1  ONLINE   012 0
errors: List of errors unavailable: pool I/O is currently suspended

errors: 5 data errors, use '-v' for a list


If I try: zpool clear your-pool

I get:  cannot clear errors for your-pool: I/O error

and the state change to UNAVIAL like this:

  pool: your-pool
 state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://zfsonlinux.org/msg/ZFS-8000-HC
  scan: none requested
config:

NAMESTATE READ WRITE CKSUM
your-pool   UNAVAIL  0 0 0  insufficient replicas
  sda1  UNAVAIL  0 0 0
errors: List of errors unavailable: pool I/O is currently suspended

errors: 5 data errors, use '-v' for a list

Any one experienced this ?

Description:Pop!_OS 18.04 LTS
Release:18.04

zfsutils-linux:
  Installed: 0.7.5-1ubuntu16.6
  Candidate: 0.7.5-1ubuntu16.6
  Version table:
 *** 0.7.5-1ubuntu16.6 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
100 /var/lib/dpkg/status
 0.7.5-1ubuntu15 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

** Affects: zfs-linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849823

Title:
  zfs usb hdd: i/o is currently suspended after laptop wakeup from
  suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1849823/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1838046] Re: Autofs with CIFS prevents laptop suspend

2019-08-02 Thread Mohammad Dahamshi
Would adding this before suspend/shutdown help in your case?

I think it would help.

But I think the better solution is to add it after a network disconnect,
or to to provide a way to disable auto reconnect, isn't the idea behind
autofs to mount on demand ? why to keep trying to reconnect ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs with CIFS prevents laptop suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1838046] Re: Autofs with CIFS prevents laptop suspend

2019-08-01 Thread Mohammad Dahamshi
syslog attatchment

** Attachment added: "syslog"
   
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+attachment/5280392/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs with CIFS prevents laptop suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1838046] Re: Autofs with CIFS prevents laptop suspend

2019-08-01 Thread Mohammad Dahamshi
dmesg attatchment

** Attachment added: "dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+attachment/5280393/+files/dmesg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs with CIFS prevents laptop suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1838046] Re: Autofs with CIFS prevents laptop suspend

2019-08-01 Thread Mohammad Dahamshi
Linux automount version 5.1.2
ubntu 18.04

auto.master:
/home/mohammad/cifs /etc/auto.cifs --timeout 60

auto.cifs:

disk1
-fstype=cifs,rw,uid=1000,gid=100,credentials=/etc/auto.smb.mmd,file_mode=0770,dir_mode=0770
://plaqless.org/disk1

disk2
-fstype=cifs,rw,uid=1000,gid=100,credentials=/etc/auto.smb.mmd,file_mode=0770,dir_mode=0770
://plaqless.org/disk2

work
-fstype=cifs,rw,uid=1000,gid=100,credentials=/etc/auto.smb.mmd,file_mode=0770,dir_mode=0770
://win7.local/Work

steps to reproduce:
1.  cd /home/mohammad/cifs/disk1 (now the disk1 is auto mounted)
2.  unplug the LAN cable (or disconnect from the network plaqless.org is on)
3.  suspend 
4.  Freezing of task failed after xx seconds (the bug)


** Changed in: autofs (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs with CIFS prevents laptop suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1838046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1838046] [NEW] Autofs prevent laptop suspend

2019-07-26 Thread Mohammad Dahamshi
Public bug reported:

I have autofs set to mount two cifs partitions
one from a local server, the second from a virtualbox machine in my laptop
when I stop the virtual machine and try to suspend, I got a message saying: 
Freezing of task failed after xx seconds
after ~10 seconds, the screen goes off, it appears that the laptop do a partial 
suspend (the power light doesn't blink), if I press the power button, the 
laptop wakes up, and sometimes I get a new gnome session (all my windows colsed 
and start with new gnome)

If I sudo systemctl stop autofs.service and the suspend, everything
works good.

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838046

Title:
  Autofs prevent laptop suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1838046/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs