Re: zfs not detecting drive failure

2013-09-02 Thread Muhammad Yousuf Khan
Thanks it was of great help. On 9/2/13, Florian Ernst wrote: > Hello there, > > On Mon, Sep 02, 2013 at 07:21:10PM +0500, Muhammad Yousuf Khan wrote: >> but there is a problem when i restart the machine folder on the root >> (name >> as pool name) of file system can b found however zfs partition

Re: zfs not detecting drive failure

2013-09-02 Thread Florian Ernst
Hello there, On Mon, Sep 02, 2013 at 07:21:10PM +0500, Muhammad Yousuf Khan wrote: > but there is a problem when i restart the machine folder on the root (name > as pool name) of file system can b found however zfs partition is not > mounted. > i have to run "zfs mount -a" to remount the partition

Re: zfs not detecting drive failure

2013-09-02 Thread Muhammad Yousuf Khan
> I would try to dd empty or random data over it or test with virtual > machines where one can remove HDDs from the VM. > > thanks, offline the specified drive did the trick and when i re-online the raid drive , it throw the error as expected. but there is a problem when i restart the machine folde

Re: zfs not detecting drive failure

2013-09-02 Thread Linux-Fan
On 09/02/2013 12:01 PM, Muhammad Yousuf Khan wrote: > [cut] >> >> I believe that your test case is faulty, as "rm" doesn't actually do >> what you think it does... >> >> > then please advice how can i simulate disk failure. do you think i should > move towords physical hardware rather then files? i

Re: zfs not detecting drive failure

2013-09-02 Thread Muhammad Yousuf Khan
[cut] > > I believe that your test case is faulty, as "rm" doesn't actually do > what you think it does... > > then please advice how can i simulate disk failure. do you think i should move towords physical hardware rather then files? i can do that and thats why i am planning and learning ZFS howe

Re: zfs not detecting drive failure

2013-09-02 Thread Karl E. Jørgensen
Hi On 02/09/13 10:32, Muhammad Yousuf Khan wrote: > i am using ZFS on debian(ubuntu) for learning ZFS but there is some > problem that i am facing . > > i have create 6 files, size are 2GB each and things are working as > learned however when i removed one of the file. my "zfs status" > showing me

zfs not detecting drive failure

2013-09-02 Thread Muhammad Yousuf Khan
i am using ZFS on debian(ubuntu) for learning ZFS but there is some problem that i am facing . i have create 6 files, size are 2GB each and things are working as learned however when i removed one of the file. my "zfs status" showing me that file is still online. for example here is zpool status.