Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang state occured while rollbacking after rollback command. #96

Open
vikramjadhav opened this issue Jan 12, 2011 · 2 comments
Open

Hang state occured while rollbacking after rollback command. #96

vikramjadhav opened this issue Jan 12, 2011 · 2 comments

Comments

@vikramjadhav
Copy link
Member

Hang state occured while rollbacking after rollback command.

Steps as Follows:

[root@localhost kqinfo]# zpool destroy tank

[root@localhost kqinfo]# zpool create tank /dev/sdb1

[root@localhost kqinfo]# zfs create tank/zfs

[root@localhost kqinfo]# touch /tank/a

[root@localhost kqinfo]# touch /tank/b

[root@localhost kqinfo]# touch /tank/zfs/aa

[root@localhost kqinfo]# touch /tank/zfs/bb

[root@localhost kqinfo]# zfs snapshot tank@snap1

[root@localhost kqinfo]# zfs snapshot tank@snap2

[root@localhost kqinfo]# zfs snapshot tank@snap3

[root@localhost kqinfo]# zfs snapshot tank/zfs@snap4

[root@localhost kqinfo]# zfs snapshot tank/zfs@snap5

[root@localhost kqinfo]# zfs snapshot tank/zfs@snap6

[root@localhost kqinfo]# zfs snapshot tank@snap8

[root@localhost kqinfo]# zfs snapshot tank@snap9

[root@localhost kqinfo]# zfs rollback -r tank/zfs@snap5

[root@localhost kqinfo]# zfs rollback -r tank/zfs@snap5

Here System goes in hang state.

@vikramjadhav
Copy link
Member Author

In this issue rollback command hangs not the system

@vikramjadhav
Copy link
Member Author

This issue can re-produce with following steps :

[root@localhost kqinfo]# zpool create tank /dev/sdc1

[root@localhost kqinfo]# zfs create tank/zfs

[root@localhost kqinfo]# zfs snapshot tank/zfs@snap1

[root@localhost kqinfo]# zfs snapshot tank/zfs@snap2

[root@localhost kqinfo]# zfs rollback tank/zfs@snap1

[root@localhost kqinfo]# zfs rollback -r tank/zfs@snap1

[root@localhost kqinfo]# zfs rollback -r tank/zfs@snap1

Here hang state occured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant