Hi.
Thanks to everyone who helped me on this (-:
That was a really good experience.
Great list.
I ended up using the script below (thanks David (-:).
Kind regards.
Luke.
David Smith wrote:
> To list your snapshots:
>
> /usr/sbin/zfs list -H -t snapshot -o name
>
> Then you could use that in a
Matthew Ahrens wrote:
> Dick Davies wrote:
>> On 18/08/07, Matthew Ahrens <[EMAIL PROTECTED]> wrote:
>>> Blake wrote:
Now I'm curious.
I was recursively removing snapshots that had been generated recursively
with the '-r' option. I'm running snv65 - is this a recent feature?
>>
Dick Davies wrote:
> On 18/08/07, Matthew Ahrens <[EMAIL PROTECTED]> wrote:
>> Blake wrote:
>>> Now I'm curious.
>>>
>>> I was recursively removing snapshots that had been generated recursively
>>> with the '-r' option. I'm running snv65 - is this a recent feature?
>> No; it was integrated in snv_
On 18/08/07, Matthew Ahrens <[EMAIL PROTECTED]> wrote:
> Blake wrote:
> > Now I'm curious.
> >
> > I was recursively removing snapshots that had been generated recursively
> > with the '-r' option. I'm running snv65 - is this a recent feature?
>
> No; it was integrated in snv_43, and is in s10u3.
Blake wrote:
> Now I'm curious.
>
> I was recursively removing snapshots that had been generated recursively
> with the '-r' option. I'm running snv65 - is this a recent feature?
No; it was integrated in snv_43, and is in s10u3. See:
PSARC 2006/388 snapshot -r
6373978 want to take lots of sna
Now I'm curious.
I was recursively removing snapshots that had been generated recursively
with the '-r' option. I'm running snv65 - is this a recent feature?
Example:
2007-07-08.05:48:36 zfs destroy -r [EMAIL PROTECTED]
(this removed each recursive snapshot for all the filesystems contained in
To list your snapshots:
/usr/sbin/zfs list -H -t snapshot -o name
Then you could use that in a for loop:
for i in `/usr/sbin/zfs list -H -t snapshot -o name` ;
do
echo "Destroying snapshot: $i"
/usr/sbin/zfs destroy $i
done
The above would destroy all your snapshots. You could put a grep o
> Hi. I want to delete a whole series of snapshots.
>
> How do I go about that.
>
> I have tried doing a rm -rf of one of the snapshot directories but I'm
> not allowed since its read-only despite that I'm root.
You can't use '-r' because the contents are immutable.
But you may be able to simp
Hey,
"zfs destroy snapshotname" is the way I use to remove snapshots.
Kind regards,
Steve
On 8/17/07, Luke Vanderfluit <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> Thanks greatly for your reply.
> Since I am trying _not_ to inadvertently destroy anything but the
> snapshots... could you tell me your
Hi.
Thanks greatly for your reply.
Since I am trying _not_ to inadvertently destroy anything but the
snapshots... could you tell me your syntax?
Kind regards.
Luke.
[EMAIL PROTECTED] wrote:
> On Fri, 17 Aug 2007, Luke Vanderfluit wrote:
>
>>
>> Do I use the zfs destroy command?
>>
>>
> I use z
I think zfs destroy is correct.
Check 'man zfs' for details - you probably have to supply the '-r' option
for recursion.
blake/
On 8/17/07, Luke Vanderfluit <[EMAIL PROTECTED]> wrote:
>
> Hi. I want to delete a whole series of snapshots.
>
> How do I go about that.
>
> I have tried doing a rm -r
Hi. I want to delete a whole series of snapshots.
How do I go about that.
I have tried doing a rm -rf of one of the snapshot directories but I'm
not allowed since its read-only despite that I'm root.
Do I use the zfs destroy command?
I'd appreciate some help. Thanks.
Kind regards.
--
Luke V
12 matches
Mail list logo