Robert Loper
2010-Mar-02 17:08 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
I have a Solaris x86 server running update 6 (Solaris 10 10/08 s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I deleted a 512GB sparse file from a 1.2TB filesystem and the space was never freed up. What I am asking is would there be any way to recover the space in the filesystem without having to destroy and recreate it? I am assuming before trying anything I would need to update the server to U8. Thanks in advance... -- Robert Loper rloper at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100302/a7816320/attachment.html>
Edward Ned Harvey
2010-Mar-03 16:14 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
I don''t know the answer to your question, but I am running the same version of OS you are, and this bug could affect us. Do you have any link to any documentation about this bug? I''d like to forward something to inform the other admins at work. From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss-bounces at opensolaris.org] On Behalf Of Robert Loper Sent: Tuesday, March 02, 2010 12:09 PM To: zfs-discuss at opensolaris.org Subject: [zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701 I have a Solaris x86 server running update 6 (Solaris 10 10/08 s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I deleted a 512GB sparse file from a 1.2TB filesystem and the space was never freed up. What I am asking is would there be any way to recover the space in the filesystem without having to destroy and recreate it? I am assuming before trying anything I would need to update the server to U8. Thanks in advance... -- Robert Loper rloper at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100303/c9de462c/attachment.html>
Francois Napoleoni
2010-Mar-03 17:14 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
If you have a valid Solaris Support contract you can ask for the corresponding IDR to fix this issue. (Hi to Richard E. ... who must be boiling right now :) ) F. Edward Ned Harvey wrote:> I don?t know the answer to your question, but I am running the same > version of OS you are, and this bug could affect us. Do you have any > link to any documentation about this bug? I?d like to forward something > to inform the other admins at work. > > > > > > > > *From:* zfs-discuss-bounces at opensolaris.org > [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert Loper > *Sent:* Tuesday, March 02, 2010 12:09 PM > *To:* zfs-discuss at opensolaris.org > *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701 > > > > I have a Solaris x86 server running update 6 (Solaris 10 10/08 > s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I > deleted a 512GB sparse file from a 1.2TB filesystem and the space was > never freed up. What I am asking is would there be any way to recover > the space in the filesystem without having to destroy and recreate it? > I am assuming before trying anything I would need to update the server > to U8. > > Thanks in advance... > > -- > Robert Loper > rloper at gmail.com <mailto:rloper at gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Francois Napoleoni / Sun Support Engineer mail : francois.napoleoni at sun.com phone : +33 (0)1 3403 1707 fax : +33 (0)1 3403 1114
Francois Napoleoni
2010-Mar-03 17:18 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Sorrymy, mistake, i did not checked this one for a while ... patch for this CR is 14144{45}-09 aka Solaris 10 update 8 kernel parch. Edward Ned Harvey wrote:> I don?t know the answer to your question, but I am running the same > version of OS you are, and this bug could affect us. Do you have any > link to any documentation about this bug? I?d like to forward something > to inform the other admins at work. > > > > > > > > *From:* zfs-discuss-bounces at opensolaris.org > [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert Loper > *Sent:* Tuesday, March 02, 2010 12:09 PM > *To:* zfs-discuss at opensolaris.org > *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701 > > > > I have a Solaris x86 server running update 6 (Solaris 10 10/08 > s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I > deleted a 512GB sparse file from a 1.2TB filesystem and the space was > never freed up. What I am asking is would there be any way to recover > the space in the filesystem without having to destroy and recreate it? > I am assuming before trying anything I would need to update the server > to U8. > > Thanks in advance... > > -- > Robert Loper > rloper at gmail.com <mailto:rloper at gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Francois Napoleoni / Sun Support Engineer mail : francois.napoleoni at sun.com phone : +33 (0)1 3403 1707 fax : +33 (0)1 3403 1114
Geoff Shipman
2010-Mar-03 17:36 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
The Solaris 10 Update 8 has the fix for 6792701 included. This is part of kernel patches 141444-09 (sparc), 141445-09 (x86). For OpenSolaris build 118 or later contains the fix so in the development builds. This avoids future problems with the CR but if your currently effected by the problem the fix doesn''t clear the troubles. I believe a backup of the data, then destroy of the file system, then recreating it and restoring is method to clear the space. With the later kernel the problem is avoided in the future. Geoff On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote:> If you have a valid Solaris Support contract you can ask for the > corresponding IDR to fix this issue. > > (Hi to Richard E. ... who must be boiling right now :) ) > > F. > > Edward Ned Harvey wrote: > > I don?t know the answer to your question, but I am running the same > > version of OS you are, and this bug could affect us. Do you have > any > > link to any documentation about this bug? I?d like to forward > something > > to inform the other admins at work. > > > > > > > > > > > > > > > > *From:* zfs-discuss-bounces at opensolaris.org > > [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert > Loper > > *Sent:* Tuesday, March 02, 2010 12:09 PM > > *To:* zfs-discuss at opensolaris.org > > *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" > #6792701 > > > > > > > > I have a Solaris x86 server running update 6 (Solaris 10 10/08 > > s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I > > deleted a 512GB sparse file from a 1.2TB filesystem and the space > was > > never freed up. What I am asking is would there be any way to > recover > > the space in the filesystem without having to destroy and recreate > it? > > I am assuming before trying anything I would need to update the > server > > to U8. > > > > Thanks in advance... > > > > -- > > Robert Loper > > rloper at gmail.com <mailto:rloper at gmail.com> > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > -- > Francois Napoleoni / Sun Support Engineer > mail : francois.napoleoni at sun.com > phone : +33 (0)1 3403 1707 > fax : +33 (0)1 3403 1114 > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Geoff Shipman - (303) 223-6266 Systems Technology Service Center - Operating System Solaris and Network Technology Domain Americas Systems Technology Service Center
Francois Napoleoni
2010-Mar-03 17:51 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
From my experience with customer hitting this bug, installing the now obsolete IDR and rebooting was enoug hto get ride of these sparse file bug. F. Geoff Shipman wrote:> The Solaris 10 Update 8 has the fix for 6792701 included. This is part > of kernel patches 141444-09 (sparc), 141445-09 (x86). For OpenSolaris > build 118 or later contains the fix so in the development builds. > > This avoids future problems with the CR but if your currently effected > by the problem the fix doesn''t clear the troubles. > > I believe a backup of the data, then destroy of the file system, then > recreating it and restoring is method to clear the space. With the > later kernel the problem is avoided in the future. > > Geoff > > > On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: >> If you have a valid Solaris Support contract you can ask for the >> corresponding IDR to fix this issue. >> >> (Hi to Richard E. ... who must be boiling right now :) ) >> >> F. >> >> Edward Ned Harvey wrote: >>> I don?t know the answer to your question, but I am running the same >>> version of OS you are, and this bug could affect us. Do you have >> any >>> link to any documentation about this bug? I?d like to forward >> something >>> to inform the other admins at work. >>> >>> >>> >>> >>> >>> >>> >>> *From:* zfs-discuss-bounces at opensolaris.org >>> [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert >> Loper >>> *Sent:* Tuesday, March 02, 2010 12:09 PM >>> *To:* zfs-discuss at opensolaris.org >>> *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" >> #6792701 >>> >>> >>> I have a Solaris x86 server running update 6 (Solaris 10 10/08 >>> s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I >>> deleted a 512GB sparse file from a 1.2TB filesystem and the space >> was >>> never freed up. What I am asking is would there be any way to >> recover >>> the space in the filesystem without having to destroy and recreate >> it? >>> I am assuming before trying anything I would need to update the >> server >>> to U8. >>> >>> Thanks in advance... >>> >>> -- >>> Robert Loper >>> rloper at gmail.com <mailto:rloper at gmail.com> >>> >>> >>> >> ------------------------------------------------------------------------ >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> -- >> Francois Napoleoni / Sun Support Engineer >> mail : francois.napoleoni at sun.com >> phone : +33 (0)1 3403 1707 >> fax : +33 (0)1 3403 1114 >> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Francois Napoleoni / Sun Support Engineer mail : francois.napoleoni at sun.com phone : +33 (0)1 3403 1707 fax : +33 (0)1 3403 1114
Geoff Shipman
2010-Mar-03 17:55 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Right it would get rid of the CR, but does it free the disk space from an event that occurred prior to patching ?. On Wed, 2010-03-03 at 10:51, Francois Napoleoni wrote:> From my experience with customer hitting this bug, installing the now > obsolete IDR and rebooting was enoug hto get ride of these sparse file > bug. > > F. > > Geoff Shipman wrote: > > The Solaris 10 Update 8 has the fix for 6792701 included. This is > part > > of kernel patches 141444-09 (sparc), 141445-09 (x86). For > OpenSolaris > > build 118 or later contains the fix so in the development builds. > > > > This avoids future problems with the CR but if your currently > effected > > by the problem the fix doesn''t clear the troubles. > > > > I believe a backup of the data, then destroy of the file system, > then > > recreating it and restoring is method to clear the space. With the > > later kernel the problem is avoided in the future. > > > > Geoff > > > > > > On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: > >> If you have a valid Solaris Support contract you can ask for the > >> corresponding IDR to fix this issue. > >> > >> (Hi to Richard E. ... who must be boiling right now :) ) > >> > >> F. > >> > >> Edward Ned Harvey wrote: > >>> I don?t know the answer to your question, but I am running the > same > >>> version of OS you are, and this bug could affect us. Do you have > >> any > >>> link to any documentation about this bug? I?d like to forward > >> something > >>> to inform the other admins at work. > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> *From:* zfs-discuss-bounces at opensolaris.org > >>> [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert > >> Loper > >>> *Sent:* Tuesday, March 02, 2010 12:09 PM > >>> *To:* zfs-discuss at opensolaris.org > >>> *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" > >> #6792701 > >>> > >>> > >>> I have a Solaris x86 server running update 6 (Solaris 10 10/08 > >>> s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I > >>> deleted a 512GB sparse file from a 1.2TB filesystem and the space > >> was > >>> never freed up. What I am asking is would there be any way to > >> recover > >>> the space in the filesystem without having to destroy and recreate > >> it? > >>> I am assuming before trying anything I would need to update the > >> server > >>> to U8. > >>> > >>> Thanks in advance... > >>> > >>> -- > >>> Robert Loper > >>> rloper at gmail.com <mailto:rloper at gmail.com> > >>> > >>> > >>> > >> > ------------------------------------------------------------------------ > >>> _______________________________________________ > >>> zfs-discuss mailing list > >>> zfs-discuss at opensolaris.org > >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > >> -- > >> Francois Napoleoni / Sun Support Engineer > >> mail : francois.napoleoni at sun.com > >> phone : +33 (0)1 3403 1707 > >> fax : +33 (0)1 3403 1114 > >> > >> _______________________________________________ > >> zfs-discuss mailing list > >> zfs-discuss at opensolaris.org > >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > -- > Francois Napoleoni / Sun Support Engineer > mail : francois.napoleoni at sun.com > phone : +33 (0)1 3403 1707 > fax : +33 (0)1 3403 1114-- Geoff Shipman - (303) 223-6266 Systems Technology Service Center - Operating System Solaris and Network Technology Domain Americas Systems Technology Service Center
Francois Napoleoni
2010-Mar-03 18:00 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Yes i will ... But this can be a good time to initiate/justify that useful backup which we never had time to do before :) . F. Geoff Shipman wrote:> Right it would get rid of the CR, but does it free the disk space from > an event that occurred prior to patching ?. > > > On Wed, 2010-03-03 at 10:51, Francois Napoleoni wrote: >> From my experience with customer hitting this bug, installing the now >> obsolete IDR and rebooting was enoug hto get ride of these sparse file >> bug. >> >> F. >> >> Geoff Shipman wrote: >>> The Solaris 10 Update 8 has the fix for 6792701 included. This is >> part >>> of kernel patches 141444-09 (sparc), 141445-09 (x86). For >> OpenSolaris >>> build 118 or later contains the fix so in the development builds. >>> >>> This avoids future problems with the CR but if your currently >> effected >>> by the problem the fix doesn''t clear the troubles. >>> >>> I believe a backup of the data, then destroy of the file system, >> then >>> recreating it and restoring is method to clear the space. With the >>> later kernel the problem is avoided in the future. >>> >>> Geoff >>> >>> >>> On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: >>>> If you have a valid Solaris Support contract you can ask for the >>>> corresponding IDR to fix this issue. >>>> >>>> (Hi to Richard E. ... who must be boiling right now :) ) >>>> >>>> F. >>>> >>>> Edward Ned Harvey wrote: >>>>> I don?t know the answer to your question, but I am running the >> same >>>>> version of OS you are, and this bug could affect us. Do you have >>>> any >>>>> link to any documentation about this bug? I?d like to forward >>>> something >>>>> to inform the other admins at work. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *From:* zfs-discuss-bounces at opensolaris.org >>>>> [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert >>>> Loper >>>>> *Sent:* Tuesday, March 02, 2010 12:09 PM >>>>> *To:* zfs-discuss at opensolaris.org >>>>> *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" >>>> #6792701 >>>>> >>>>> >>>>> I have a Solaris x86 server running update 6 (Solaris 10 10/08 >>>>> s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I >>>>> deleted a 512GB sparse file from a 1.2TB filesystem and the space >>>> was >>>>> never freed up. What I am asking is would there be any way to >>>> recover >>>>> the space in the filesystem without having to destroy and recreate >>>> it? >>>>> I am assuming before trying anything I would need to update the >>>> server >>>>> to U8. >>>>> >>>>> Thanks in advance... >>>>> >>>>> -- >>>>> Robert Loper >>>>> rloper at gmail.com <mailto:rloper at gmail.com> >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> zfs-discuss mailing list >>>>> zfs-discuss at opensolaris.org >>>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>>> -- >>>> Francois Napoleoni / Sun Support Engineer >>>> mail : francois.napoleoni at sun.com >>>> phone : +33 (0)1 3403 1707 >>>> fax : +33 (0)1 3403 1114 >>>> >>>> _______________________________________________ >>>> zfs-discuss mailing list >>>> zfs-discuss at opensolaris.org >>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> -- >> Francois Napoleoni / Sun Support Engineer >> mail : francois.napoleoni at sun.com >> phone : +33 (0)1 3403 1707 >> fax : +33 (0)1 3403 1114-- Francois Napoleoni / Sun Support Engineer mail : francois.napoleoni at sun.com phone : +33 (0)1 3403 1707 fax : +33 (0)1 3403 1114
Francois Napoleoni
2010-Mar-03 18:02 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Yes iT will ... But this can be a good time to initiate/justify that useful backup which we never had time to do before :) . F.> Geoff Shipman wrote: >> Right it would get rid of the CR, but does it free the disk space from >> an event that occurred prior to patching ?. >> >> On Wed, 2010-03-03 at 10:51, Francois Napoleoni wrote: >>> From my experience with customer hitting this bug, installing the now >>> obsolete IDR and rebooting was enoug hto get ride of these sparse file >>> bug. >>> >>> F. >>> >>> Geoff Shipman wrote: >>>> The Solaris 10 Update 8 has the fix for 6792701 included. This is >>> part >>>> of kernel patches 141444-09 (sparc), 141445-09 (x86). For >>> OpenSolaris >>>> build 118 or later contains the fix so in the development builds. >>>> This avoids future problems with the CR but if your currently >>> effected >>>> by the problem the fix doesn''t clear the troubles. >>>> >>>> I believe a backup of the data, then destroy of the file system, >>> then >>>> recreating it and restoring is method to clear the space. With the >>>> later kernel the problem is avoided in the future. >>>> >>>> Geoff >>>> >>>> On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: >>>>> If you have a valid Solaris Support contract you can ask for the >>>>> corresponding IDR to fix this issue. >>>>> >>>>> (Hi to Richard E. ... who must be boiling right now :) ) >>>>> >>>>> F. >>>>> >>>>> Edward Ned Harvey wrote: >>>>>> I don?t know the answer to your question, but I am running the >>> same >>>>>> version of OS you are, and this bug could affect us. Do you have >>>>> any >>>>>> link to any documentation about this bug? I?d like to forward >>>>> something >>>>>> to inform the other admins at work. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> *From:* zfs-discuss-bounces at opensolaris.org >>>>>> [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert >>>>> Loper >>>>>> *Sent:* Tuesday, March 02, 2010 12:09 PM >>>>>> *To:* zfs-discuss at opensolaris.org >>>>>> *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" >>>>> #6792701 >>>>>> >>>>>> >>>>>> I have a Solaris x86 server running update 6 (Solaris 10 10/08 >>>>>> s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I >>>>>> deleted a 512GB sparse file from a 1.2TB filesystem and the space >>>>> was >>>>>> never freed up. What I am asking is would there be any way to >>>>> recover >>>>>> the space in the filesystem without having to destroy and recreate >>>>> it? >>>>>> I am assuming before trying anything I would need to update the >>>>> server >>>>>> to U8. >>>>>> >>>>>> Thanks in advance... >>>>>> >>>>>> -- >>>>>> Robert Loper >>>>>> rloper at gmail.com <mailto:rloper at gmail.com> >>>>>> >>>>>> >>>>>> >>> ------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> zfs-discuss mailing list >>>>>> zfs-discuss at opensolaris.org >>>>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>>>> -- >>>>> Francois Napoleoni / Sun Support Engineer >>>>> mail : francois.napoleoni at sun.com >>>>> phone : +33 (0)1 3403 1707 >>>>> fax : +33 (0)1 3403 1114 >>>>> >>>>> _______________________________________________ >>>>> zfs-discuss mailing list >>>>> zfs-discuss at opensolaris.org >>>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>> -- >>> Francois Napoleoni / Sun Support Engineer >>> mail : francois.napoleoni at sun.com >>> phone : +33 (0)1 3403 1707 >>> fax : +33 (0)1 3403 1114 >-- Francois Napoleoni / Sun Support Engineer mail : francois.napoleoni at sun.com phone : +33 (0)1 3403 1707 fax : +33 (0)1 3403 1114
Robert Loper
2010-Mar-03 18:03 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Can you clarify what this "IDR" is? I do not have Sun Support on this specific server. - Robert Loper On Wed, Mar 3, 2010 at 11:51 AM, Francois Napoleoni < Francois.Napoleoni at sun.com> wrote:> From my experience with customer hitting this bug, installing the now > obsolete IDR and rebooting was enoug hto get ride of these sparse file bug. > > F. > > > Geoff Shipman wrote: > >> The Solaris 10 Update 8 has the fix for 6792701 included. This is part >> of kernel patches 141444-09 (sparc), 141445-09 (x86). For OpenSolaris >> build 118 or later contains the fix so in the development builds. >> This avoids future problems with the CR but if your currently effected >> by the problem the fix doesn''t clear the troubles. >> >> I believe a backup of the data, then destroy of the file system, then >> recreating it and restoring is method to clear the space. With the >> later kernel the problem is avoided in the future. >> >> Geoff >> >> On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: >> >>> If you have a valid Solaris Support contract you can ask for the >>> corresponding IDR to fix this issue. >>> >>> (Hi to Richard E. ... who must be boiling right now :) ) >>> >>> F. >>> >>> Edward Ned Harvey wrote: >>> >>>> I don?t know the answer to your question, but I am running the same >>>> version of OS you are, and this bug could affect us. Do you have >>>> >>> any >>> >>>> link to any documentation about this bug? I?d like to forward >>>> >>> something >>> >>>> to inform the other admins at work. >>>> >>>> >>>> >>>> >>>> *From:* zfs-discuss-bounces at opensolaris.org [mailto: >>>> zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert >>>> >>> Loper >>> >>>> *Sent:* Tuesday, March 02, 2010 12:09 PM >>>> *To:* zfs-discuss at opensolaris.org >>>> *Subject:* [zfs-discuss] Any way to fix ZFS "sparse file bug" >>>> >>> #6792701 >>> >>>> >>>> I have a Solaris x86 server running update 6 (Solaris 10 10/08 >>>> s10x_u6wos_07b X86). I recently hit this "sparse file bug" when I deleted a >>>> 512GB sparse file from a 1.2TB filesystem and the space >>>> >>> was >>> >>>> never freed up. What I am asking is would there be any way to >>>> >>> recover >>> >>>> the space in the filesystem without having to destroy and recreate >>>> >>> it? >>> >>>> I am assuming before trying anything I would need to update the >>>> >>> server >>> >>>> to U8. >>>> >>>> Thanks in advance... >>>> >>>> -- >>>> Robert Loper >>>> rloper at gmail.com <mailto:rloper at gmail.com> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>> >>>> _______________________________________________ >>>> zfs-discuss mailing list >>>> zfs-discuss at opensolaris.org >>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>>> >>> -- >>> Francois Napoleoni / Sun Support Engineer >>> mail : francois.napoleoni at sun.com >>> phone : +33 (0)1 3403 1707 >>> fax : +33 (0)1 3403 1114 >>> >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>> >> > -- > Francois Napoleoni / Sun Support Engineer > mail : francois.napoleoni at sun.com > phone : +33 (0)1 3403 1707 > fax : +33 (0)1 3403 1114 > >-- Robert Loper rloper at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100303/594618e0/attachment.html>
Geoff Shipman
2010-Mar-03 18:08 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
IDR''s are fixes for troubles from the initial development state. The patches noted are the official fixes. On Wed, 2010-03-03 at 11:03, Robert Loper wrote:> Can you clarify what this "IDR" is? I do not have Sun Support on this > specific server. > > - Robert Loper > > On Wed, Mar 3, 2010 at 11:51 AM, Francois Napoleoni > <Francois.Napoleoni at sun.com> wrote: > From my experience with customer hitting this bug, installing > the now obsolete IDR and rebooting was enoug hto get ride of > these sparse file bug. > > F. > > Geoff Shipman wrote: > The Solaris 10 Update 8 has the fix for 6792701 > included. This is part > of kernel patches 141444-09 (sparc), 141445-09 (x86). > For OpenSolaris > build 118 or later contains the fix so in the > development builds. > This avoids future problems with the CR but if your > currently effected > by the problem the fix doesn''t clear the troubles. > > I believe a backup of the data, then destroy of the > file system, then > recreating it and restoring is method to clear the > space. With the > later kernel the problem is avoided in the future. > > Geoff > > On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: > If you have a valid Solaris Support contract > you can ask for the corresponding IDR to fix > this issue. > > (Hi to Richard E. ... who must be boiling > right now :) ) > > F. > > Edward Ned Harvey wrote: > I don?t know the answer to your > question, but I am running the same > version of OS you are, and this bug > could affect us. Do you have > any > link to any documentation about this > bug? I?d like to forward > something > to inform the other admins at work. > > > > > *From:* > zfs-discuss-bounces at opensolaris.org > [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert > Loper > *Sent:* Tuesday, March 02, 2010 12:09 > PM > *To:* zfs-discuss at opensolaris.org > *Subject:* [zfs-discuss] Any way to > fix ZFS "sparse file bug" > #6792701 > > I have a Solaris x86 server running > update 6 (Solaris 10 10/08 > s10x_u6wos_07b X86). I recently hit > this "sparse file bug" when I deleted > a 512GB sparse file from a 1.2TB > filesystem and the space > was > never freed up. What I am asking is > would there be any way to > recover > the space in the filesystem without > having to destroy and recreate > it? > I am assuming before trying anything I > would need to update the > server > to U8. > > Thanks in advance... > > -- > Robert Loper > rloper at gmail.com > <mailto:rloper at gmail.com> > > > > ------------------------------------------------------------------------ > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > -- > Francois Napoleoni / Sun Support Engineer > mail : francois.napoleoni at sun.com > phone : +33 (0)1 3403 1707 > fax : +33 (0)1 3403 1114 > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > -- > Francois Napoleoni / Sun Support Engineer > mail : francois.napoleoni at sun.com > phone : +33 (0)1 3403 1707 > fax : +33 (0)1 3403 1114 > > > > > > -- > Robert Loper > rloper at gmail.com > > > ______________________________________________________________________ > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Geoff Shipman - (303) 223-6266 Systems Technology Service Center - Operating System Solaris and Network Technology Domain Americas Systems Technology Service Center
Robert Loper
2010-Mar-03 18:15 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
So the question remains... if I install patch 14144{45}-09 (by a LU to Solaris 10 upd 8) will that allow the filesystem (not an rpool) to free up the space? - Robert On Wed, Mar 3, 2010 at 12:08 PM, Geoff Shipman <Geoff.Shipman at sun.com>wrote:> IDR''s are fixes for troubles from the initial development state. The > patches noted are the official fixes. > > On Wed, 2010-03-03 at 11:03, Robert Loper wrote: > > Can you clarify what this "IDR" is? I do not have Sun Support on this > > specific server. > > > > - Robert Loper > > > > On Wed, Mar 3, 2010 at 11:51 AM, Francois Napoleoni > > <Francois.Napoleoni at sun.com> wrote: > > From my experience with customer hitting this bug, installing > > the now obsolete IDR and rebooting was enoug hto get ride of > > these sparse file bug. > > > > F. > > > > Geoff Shipman wrote: > > The Solaris 10 Update 8 has the fix for 6792701 > > included. This is part > > of kernel patches 141444-09 (sparc), 141445-09 (x86). > > For OpenSolaris > > build 118 or later contains the fix so in the > > development builds. > > This avoids future problems with the CR but if your > > currently effected > > by the problem the fix doesn''t clear the troubles. > > > > I believe a backup of the data, then destroy of the > > file system, then > > recreating it and restoring is method to clear the > > space. With the > > later kernel the problem is avoided in the future. > > > > Geoff > > > > On Wed, 2010-03-03 at 10:14, Francois Napoleoni wrote: > > If you have a valid Solaris Support contract > > you can ask for the corresponding IDR to fix > > this issue. > > > > (Hi to Richard E. ... who must be boiling > > right now :) ) > > > > F. > > > > Edward Ned Harvey wrote: > > I don?t know the answer to your > > question, but I am running the same > > version of OS you are, and this bug > > could affect us. Do you have > > any > > link to any documentation about this > > bug? I?d like to forward > > something > > to inform the other admins at work. > > > > > > > > > > *From:* > > zfs-discuss-bounces at opensolaris.org > > [mailto: > zfs-discuss-bounces at opensolaris.org] *On Behalf Of *Robert > > Loper > > *Sent:* Tuesday, March 02, 2010 12:09 > > PM > > *To:* zfs-discuss at opensolaris.org > > *Subject:* [zfs-discuss] Any way to > > fix ZFS "sparse file bug" > > #6792701 > > > > I have a Solaris x86 server running > > update 6 (Solaris 10 10/08 > > s10x_u6wos_07b X86). I recently hit > > this "sparse file bug" when I deleted > > a 512GB sparse file from a 1.2TB > > filesystem and the space > > was > > never freed up. What I am asking is > > would there be any way to > > recover > > the space in the filesystem without > > having to destroy and recreate > > it? > > I am assuming before trying anything I > > would need to update the > > server > > to U8. > > > > Thanks in advance... > > > > -- > > Robert Loper > > rloper at gmail.com > > <mailto:rloper at gmail.com> > > > > > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > -- > > Francois Napoleoni / Sun Support Engineer > > mail : francois.napoleoni at sun.com > > phone : +33 (0)1 3403 1707 > > fax : +33 (0)1 3403 1114 > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > -- > > Francois Napoleoni / Sun Support Engineer > > mail : francois.napoleoni at sun.com > > phone : +33 (0)1 3403 1707 > > fax : +33 (0)1 3403 1114 > > > > > > > > > > > > -- > > Robert Loper > > rloper at gmail.com > > > > > > ______________________________________________________________________ > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > -- > Geoff Shipman - (303) 223-6266 > Systems Technology Service Center - Operating System > Solaris and Network Technology Domain > Americas Systems Technology Service Center > >-- Robert Loper rloper at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100303/c6eefcb4/attachment.html>
Geoff Shipman
2010-Mar-03 18:27 UTC
[zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701
Per Francois''s response of 11:02 MT Yes adding the patch will free the space on the file system. From: Francois Napoleoni <Francois.Napoleoni at sun.com> To: Geoff Shipman <Geoff.Shipman at Sun.COM> Cc: Edward Ned Harvey <solaris at nedharvey.com>, zfs-discuss at opensolaris.org <zfs-discuss at opensolaris.org>, ''Robert Loper'' <rloper at gmail.com> Subject: Re: [zfs-discuss] Any way to fix ZFS "sparse file bug" #6792701 Date: Wed, 03 Mar 2010 19:02:13 +0100 Yes iT will ... But this can be a good time to initiate/justify that useful backup which we never had time to do before :) . F.> Geoff Shipman wrote: >> Right it would get rid of the CR, but does it free the disk spacefrom an event that occurred prior to patching ?. On Wed, 2010-03-03 at 11:15, Robert Loper wrote:> So the question remains... if I install patch 14144{45}-09 (by a LU to > Solaris 10 upd 8) will that allow the filesystem (not an rpool) to > free up the space? > > - Robert > > On Wed, Mar 3, 2010 at 12:08 PM, Geoff Shipman <Geoff.Shipman at sun.com> > wrote: > IDR''s are fixes for troubles from the initial development > state. The > patches noted are the official fixes. > > On Wed, 2010-03-03 at 11:03, Robert Loper wrote: > > Can you clarify what this "IDR" is? I do not have Sun > Support on this > > specific server. > > > > - Robert Loper > > > > On Wed, Mar 3, 2010 at 11:51 AM, Francois Napoleoni > > <Francois.Napoleoni at sun.com> wrote: > > From my experience with customer hitting this bug, > installing > > the now obsolete IDR and rebooting was enoug hto get > ride of > > these sparse file bug. > > > > F. > > > > Geoff Shipman wrote: > > The Solaris 10 Update 8 has the fix for > 6792701 > > included. This is part > > of kernel patches 141444-09 (sparc), > 141445-09 (x86). > > For OpenSolaris > > build 118 or later contains the fix so in > the > > development builds. > > This avoids future problems with the CR but > if your > > currently effected > > by the problem the fix doesn''t clear the > troubles. > > > > I believe a backup of the data, then destroy > of the > > file system, then > > recreating it and restoring is method to > clear the > > space. With the > > later kernel the problem is avoided in the > future. > > > > Geoff > > > > On Wed, 2010-03-03 at 10:14, Francois > Napoleoni wrote: > > If you have a valid Solaris Support > contract > > you can ask for the corresponding > IDR to fix > > this issue. > > > > (Hi to Richard E. ... who must be > boiling > > right now :) ) > > > > F. > > > > Edward Ned Harvey wrote: > > I don?t know the answer to > your > > question, but I am running > the same > > version of OS you are, and > this bug > > could affect us. Do you > have > > any > > link to any documentation > about this > > bug? I?d like to forward > > something > > to inform the other admins > at work. > > > > > > > > > > *From:* > > > zfs-discuss-bounces at opensolaris.org > > > [mailto:zfs-discuss-bounces at opensolaris.org] *On Behalf Of > *Robert > > Loper > > *Sent:* Tuesday, March 02, > 2010 12:09 > > PM > > *To:* > zfs-discuss at opensolaris.org > > *Subject:* [zfs-discuss] Any > way to > > fix ZFS "sparse file bug" > > #6792701 > > > > I have a Solaris x86 server > running > > update 6 (Solaris 10 10/08 > > s10x_u6wos_07b X86). I > recently hit > > this "sparse file bug" when > I deleted > > a 512GB sparse file from a > 1.2TB > > filesystem and the space > > was > > never freed up. What I am > asking is > > would there be any way to > > recover > > the space in the filesystem > without > > having to destroy and > recreate > > it? > > I am assuming before trying > anything I > > would need to update the > > server > > to U8. > > > > Thanks in advance... > > > > -- > > Robert Loper > > rloper at gmail.com > > <mailto:rloper at gmail.com> > > > > > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > -- > > Francois Napoleoni / Sun Support > Engineer > > mail : francois.napoleoni at sun.com > > phone : +33 (0)1 3403 1707 > > fax : +33 (0)1 3403 1114 > > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > -- > > Francois Napoleoni / Sun Support Engineer > > mail : francois.napoleoni at sun.com > > phone : +33 (0)1 3403 1707 > > fax : +33 (0)1 3403 1114 > > > > > > > > > > > > -- > > Robert Loper > > rloper at gmail.com > > > > > > > > ______________________________________________________________________ > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > -- > > Geoff Shipman - (303) 223-6266 > Systems Technology Service Center - Operating System > Solaris and Network Technology Domain > Americas Systems Technology Service Center > > > > > > -- > Robert Loper > rloper at gmail.com > > > ______________________________________________________________________ > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Geoff Shipman - (303) 223-6266 Systems Technology Service Center - Operating System Solaris and Network Technology Domain Americas Systems Technology Service Center