You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by motty cruz <mo...@gmail.com> on 2014/11/03 22:31:52 UTC
Cloudstack Secondary Storage filling up
Hello,
I have a 1TB of secondary Storage which is 79% used but I only have 6 ISOs
and 3 templates. I am using XenServer 6.2.
Secondary Storage is a NFS server: du -h
16G ./template/tmpl/2/239
16G ./template/tmpl/2/218
7.5G ./template/tmpl/2/282
16G ./template/tmpl/2/245
16G ./template/tmpl/2/246
13G ./template/tmpl/2/271
7.5G ./template/tmpl/2/257
2.5G ./template/tmpl/2/288
399M ./template/tmpl/2/209
12G ./template/tmpl/2/254
16G ./template/tmpl/2/238
16G ./template/tmpl/2/261
16G ./template/tmpl/2/243
12G ./template/tmpl/2/252
16G ./template/tmpl/2/267
13G ./template/tmpl/2/270
12G ./template/tmpl/2/250
13G ./template/tmpl/2/272
16G ./template/tmpl/2/214
16G ./template/tmpl/2/230
13G ./template/tmpl/2/266
16G ./template/tmpl/2/292
16G ./template/tmpl/2/278
16G ./template/tmpl/2/240
16G ./template/tmpl/2/213
13G ./template/tmpl/2/269
7.5G ./template/tmpl/2/256
11G ./template/tmpl/2/264
1.4G ./template/tmpl/2/294
744G ./template/tmpl/2
750G ./template/tmpl
750G ./template
4.0K ./volumes
750G .
would it be safe to delete some of this templates manaully? if yes how can
I identified a replicated templates and delete them?
--
Thanks for your support,
Motty
Re: Cloudstack Secondary Storage filling up
Posted by motty cruz <mo...@gmail.com>.
Thanks Andrija,
when I first install Cloudstack 4.4.0, XenServer templates did not work for
windows, every time I tried to build a template, ACS would allocate in
Secondary Storage but the process never completed. That's the reason I had
a lot of empty folders in Secondary storage. Since I upgraded to ACS 4.4.1
templates are working fine now.
Thanks for your support,
-Motty
On Tue, Nov 4, 2014 at 12:13 AM, Andrija Panic <an...@gmail.com>
wrote:
> file system corruption ?
>
> do: du -hs /export/secondary/*
>
> that will list each subfolder size inside SECONDARY folder.
>
> BTW, are you maybe also using /export/PRIMARY for Primary storage - that
> might take you space - if it is shared space by bith primary and secondary
> storage...
>
> On 4 November 2014 00:41, motty cruz <mo...@gmail.com> wrote:
>
> > Thanks Abhlsek,
> > I only have one snapshot in the Snapshot directory and is only 40GB.
> >
> > Thanks,
> > Motty
> >
> > On Mon, Nov 3, 2014 at 3:32 PM, abhisek basu <ab...@msn.com>
> wrote:
> >
> > > Do you have many snapshots for large volumes? Please check snapshot
> > > directory in side secondary storage as well.
> > >
> > > Sent from my iPhone
> > >
> > > > On 4 Nov 2014, at 4:13 am, "motty cruz" <mo...@gmail.com>
> wrote:
> > > >
> > > > yes that is correct! I only have 6 ISOs but the secondary storage is
> > 79%
> > > > full out of 1TB I have 200GB of free space.
> > > >
> > > > when I execute "du -h" 16G ./219
> > > > but when I execute command "ls" I don't see anything
> > > > so I did " ls -la" I see a hidden file
> > > > 265]# ls -la
> > > > total 13134948
> > > > drwxrwxrwx 2 root root 4096 Sep 30 14:19 .
> > > > drwxrwxrwx 62 root root 4096 Nov 3 14:41 ..
> > > > -rw-r--r-- 1 root root 13450174464 Sep 30 14:21
> > > > .nfs0000000003f4007500000013
> > > >
> > > > so I am asking if this file is OK to delete.
> > > >
> > > > Thanks in advance!
> > > > Motty
> > > >
> > > > On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic <
> andrija.panic@gmail.com
> > >
> > > > wrote:
> > > >
> > > >> If they are completely empty - yes. But what is the point with
> > deleting
> > > the
> > > >> empty folders? And dont really understand your original issue ? You
> > > said
> > > >> you have only 6 isos but storage is 79%full ?
> > > >>> On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com>
> wrote:
> > > >>>
> > > >>> Thanks Andrija,
> > > >>> some of the folders seem to be empty:
> > > >>> 2]# du -h | less
> > > >>> 16G ./280
> > > >>>
> > > >>> [root@debka 2]# cd 280
> > > >>> [root@debka 280]# ls
> > > >>> [root@debka 280]# ls
> > > >>>
> > > >>>
> > > >>> [root@deba 2]# pwd
> > > >>> /export/secondary/template/tmpl/2
> > > >>> [root@deba 2]# ls
> > > >>> 202 209 214 218 221 225 238 241 244 247 250 254 257
> 261
> > > 264
> > > >>> 267 271 278 282 287 292
> > > >>> 207 212 216 219 222 227 239 242 245 248 252 255 259
> 262
> > > 265
> > > >>> 269 272 280 283 288 293
> > > >>> 208 213 217 220 224 230 240 243 246 249 253 256 260
> 263
> > > 266
> > > >>> 270 276 281 286 289 294
> > > >>> [root@deba 2]#
> > > >>>
> > > >>> should I delete them?
> > > >>>
> > > >>>
> > > >>> On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <
> > andrija.panic@gmail.com
> > > >
> > > >>> wrote:
> > > >>>
> > > >>>> There is template.properties file inside each template folder -
> you
> > > can
> > > >>>> read these and get information for each template..,and choose
> which
> > > one
> > > >>> to
> > > >>>> delete....these folders/templates seems like they all belong to
> > > >> different
> > > >>>> accounts inside same domain - too much folders if you really have
> > only
> > > >> 6
> > > >>>> isos...
> > > >>>>> On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com>
> > wrote:
> > > >>>>>
> > > >>>>> Hello,
> > > >>>>> I have a 1TB of secondary Storage which is 79% used but I only
> > have 6
> > > >>>> ISOs
> > > >>>>> and 3 templates. I am using XenServer 6.2.
> > > >>>>>
> > > >>>>> Secondary Storage is a NFS server: du -h
> > > >>>>> 16G ./template/tmpl/2/239
> > > >>>>> 16G ./template/tmpl/2/218
> > > >>>>> 7.5G ./template/tmpl/2/282
> > > >>>>> 16G ./template/tmpl/2/245
> > > >>>>> 16G ./template/tmpl/2/246
> > > >>>>> 13G ./template/tmpl/2/271
> > > >>>>> 7.5G ./template/tmpl/2/257
> > > >>>>> 2.5G ./template/tmpl/2/288
> > > >>>>> 399M ./template/tmpl/2/209
> > > >>>>> 12G ./template/tmpl/2/254
> > > >>>>> 16G ./template/tmpl/2/238
> > > >>>>> 16G ./template/tmpl/2/261
> > > >>>>> 16G ./template/tmpl/2/243
> > > >>>>> 12G ./template/tmpl/2/252
> > > >>>>> 16G ./template/tmpl/2/267
> > > >>>>> 13G ./template/tmpl/2/270
> > > >>>>> 12G ./template/tmpl/2/250
> > > >>>>> 13G ./template/tmpl/2/272
> > > >>>>> 16G ./template/tmpl/2/214
> > > >>>>> 16G ./template/tmpl/2/230
> > > >>>>> 13G ./template/tmpl/2/266
> > > >>>>> 16G ./template/tmpl/2/292
> > > >>>>> 16G ./template/tmpl/2/278
> > > >>>>> 16G ./template/tmpl/2/240
> > > >>>>> 16G ./template/tmpl/2/213
> > > >>>>> 13G ./template/tmpl/2/269
> > > >>>>> 7.5G ./template/tmpl/2/256
> > > >>>>> 11G ./template/tmpl/2/264
> > > >>>>> 1.4G ./template/tmpl/2/294
> > > >>>>> 744G ./template/tmpl/2
> > > >>>>> 750G ./template/tmpl
> > > >>>>> 750G ./template
> > > >>>>> 4.0K ./volumes
> > > >>>>> 750G .
> > > >>>>>
> > > >>>>> would it be safe to delete some of this templates manaully? if
> yes
> > > >> how
> > > >>>> can
> > > >>>>> I identified a replicated templates and delete them?
> > > >>>>>
> > > >>>>> --
> > > >>>>> Thanks for your support,
> > > >>>>> Motty
> > > >>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Thanks for your support,
> > > >>> Motty
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks for your support,
> > > > Motty
> > >
> >
> >
> >
> > --
> > Thanks for your support,
> > Motty
> >
>
>
>
> --
>
> Andrija Panić
> --------------------------------------
> http://admintweets.com
> --------------------------------------
>
--
Thanks for your support,
Motty
Re: Cloudstack Secondary Storage filling up
Posted by Andrija Panic <an...@gmail.com>.
file system corruption ?
do: du -hs /export/secondary/*
that will list each subfolder size inside SECONDARY folder.
BTW, are you maybe also using /export/PRIMARY for Primary storage - that
might take you space - if it is shared space by bith primary and secondary
storage...
On 4 November 2014 00:41, motty cruz <mo...@gmail.com> wrote:
> Thanks Abhlsek,
> I only have one snapshot in the Snapshot directory and is only 40GB.
>
> Thanks,
> Motty
>
> On Mon, Nov 3, 2014 at 3:32 PM, abhisek basu <ab...@msn.com> wrote:
>
> > Do you have many snapshots for large volumes? Please check snapshot
> > directory in side secondary storage as well.
> >
> > Sent from my iPhone
> >
> > > On 4 Nov 2014, at 4:13 am, "motty cruz" <mo...@gmail.com> wrote:
> > >
> > > yes that is correct! I only have 6 ISOs but the secondary storage is
> 79%
> > > full out of 1TB I have 200GB of free space.
> > >
> > > when I execute "du -h" 16G ./219
> > > but when I execute command "ls" I don't see anything
> > > so I did " ls -la" I see a hidden file
> > > 265]# ls -la
> > > total 13134948
> > > drwxrwxrwx 2 root root 4096 Sep 30 14:19 .
> > > drwxrwxrwx 62 root root 4096 Nov 3 14:41 ..
> > > -rw-r--r-- 1 root root 13450174464 Sep 30 14:21
> > > .nfs0000000003f4007500000013
> > >
> > > so I am asking if this file is OK to delete.
> > >
> > > Thanks in advance!
> > > Motty
> > >
> > > On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic <andrija.panic@gmail.com
> >
> > > wrote:
> > >
> > >> If they are completely empty - yes. But what is the point with
> deleting
> > the
> > >> empty folders? And dont really understand your original issue ? You
> > said
> > >> you have only 6 isos but storage is 79%full ?
> > >>> On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com> wrote:
> > >>>
> > >>> Thanks Andrija,
> > >>> some of the folders seem to be empty:
> > >>> 2]# du -h | less
> > >>> 16G ./280
> > >>>
> > >>> [root@debka 2]# cd 280
> > >>> [root@debka 280]# ls
> > >>> [root@debka 280]# ls
> > >>>
> > >>>
> > >>> [root@deba 2]# pwd
> > >>> /export/secondary/template/tmpl/2
> > >>> [root@deba 2]# ls
> > >>> 202 209 214 218 221 225 238 241 244 247 250 254 257 261
> > 264
> > >>> 267 271 278 282 287 292
> > >>> 207 212 216 219 222 227 239 242 245 248 252 255 259 262
> > 265
> > >>> 269 272 280 283 288 293
> > >>> 208 213 217 220 224 230 240 243 246 249 253 256 260 263
> > 266
> > >>> 270 276 281 286 289 294
> > >>> [root@deba 2]#
> > >>>
> > >>> should I delete them?
> > >>>
> > >>>
> > >>> On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <
> andrija.panic@gmail.com
> > >
> > >>> wrote:
> > >>>
> > >>>> There is template.properties file inside each template folder - you
> > can
> > >>>> read these and get information for each template..,and choose which
> > one
> > >>> to
> > >>>> delete....these folders/templates seems like they all belong to
> > >> different
> > >>>> accounts inside same domain - too much folders if you really have
> only
> > >> 6
> > >>>> isos...
> > >>>>> On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com>
> wrote:
> > >>>>>
> > >>>>> Hello,
> > >>>>> I have a 1TB of secondary Storage which is 79% used but I only
> have 6
> > >>>> ISOs
> > >>>>> and 3 templates. I am using XenServer 6.2.
> > >>>>>
> > >>>>> Secondary Storage is a NFS server: du -h
> > >>>>> 16G ./template/tmpl/2/239
> > >>>>> 16G ./template/tmpl/2/218
> > >>>>> 7.5G ./template/tmpl/2/282
> > >>>>> 16G ./template/tmpl/2/245
> > >>>>> 16G ./template/tmpl/2/246
> > >>>>> 13G ./template/tmpl/2/271
> > >>>>> 7.5G ./template/tmpl/2/257
> > >>>>> 2.5G ./template/tmpl/2/288
> > >>>>> 399M ./template/tmpl/2/209
> > >>>>> 12G ./template/tmpl/2/254
> > >>>>> 16G ./template/tmpl/2/238
> > >>>>> 16G ./template/tmpl/2/261
> > >>>>> 16G ./template/tmpl/2/243
> > >>>>> 12G ./template/tmpl/2/252
> > >>>>> 16G ./template/tmpl/2/267
> > >>>>> 13G ./template/tmpl/2/270
> > >>>>> 12G ./template/tmpl/2/250
> > >>>>> 13G ./template/tmpl/2/272
> > >>>>> 16G ./template/tmpl/2/214
> > >>>>> 16G ./template/tmpl/2/230
> > >>>>> 13G ./template/tmpl/2/266
> > >>>>> 16G ./template/tmpl/2/292
> > >>>>> 16G ./template/tmpl/2/278
> > >>>>> 16G ./template/tmpl/2/240
> > >>>>> 16G ./template/tmpl/2/213
> > >>>>> 13G ./template/tmpl/2/269
> > >>>>> 7.5G ./template/tmpl/2/256
> > >>>>> 11G ./template/tmpl/2/264
> > >>>>> 1.4G ./template/tmpl/2/294
> > >>>>> 744G ./template/tmpl/2
> > >>>>> 750G ./template/tmpl
> > >>>>> 750G ./template
> > >>>>> 4.0K ./volumes
> > >>>>> 750G .
> > >>>>>
> > >>>>> would it be safe to delete some of this templates manaully? if yes
> > >> how
> > >>>> can
> > >>>>> I identified a replicated templates and delete them?
> > >>>>>
> > >>>>> --
> > >>>>> Thanks for your support,
> > >>>>> Motty
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Thanks for your support,
> > >>> Motty
> > >
> > >
> > >
> > > --
> > > Thanks for your support,
> > > Motty
> >
>
>
>
> --
> Thanks for your support,
> Motty
>
--
Andrija Panić
--------------------------------------
http://admintweets.com
--------------------------------------
Re: Cloudstack Secondary Storage filling up
Posted by motty cruz <mo...@gmail.com>.
Thanks Abhlsek,
I only have one snapshot in the Snapshot directory and is only 40GB.
Thanks,
Motty
On Mon, Nov 3, 2014 at 3:32 PM, abhisek basu <ab...@msn.com> wrote:
> Do you have many snapshots for large volumes? Please check snapshot
> directory in side secondary storage as well.
>
> Sent from my iPhone
>
> > On 4 Nov 2014, at 4:13 am, "motty cruz" <mo...@gmail.com> wrote:
> >
> > yes that is correct! I only have 6 ISOs but the secondary storage is 79%
> > full out of 1TB I have 200GB of free space.
> >
> > when I execute "du -h" 16G ./219
> > but when I execute command "ls" I don't see anything
> > so I did " ls -la" I see a hidden file
> > 265]# ls -la
> > total 13134948
> > drwxrwxrwx 2 root root 4096 Sep 30 14:19 .
> > drwxrwxrwx 62 root root 4096 Nov 3 14:41 ..
> > -rw-r--r-- 1 root root 13450174464 Sep 30 14:21
> > .nfs0000000003f4007500000013
> >
> > so I am asking if this file is OK to delete.
> >
> > Thanks in advance!
> > Motty
> >
> > On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic <an...@gmail.com>
> > wrote:
> >
> >> If they are completely empty - yes. But what is the point with deleting
> the
> >> empty folders? And dont really understand your original issue ? You
> said
> >> you have only 6 isos but storage is 79%full ?
> >>> On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com> wrote:
> >>>
> >>> Thanks Andrija,
> >>> some of the folders seem to be empty:
> >>> 2]# du -h | less
> >>> 16G ./280
> >>>
> >>> [root@debka 2]# cd 280
> >>> [root@debka 280]# ls
> >>> [root@debka 280]# ls
> >>>
> >>>
> >>> [root@deba 2]# pwd
> >>> /export/secondary/template/tmpl/2
> >>> [root@deba 2]# ls
> >>> 202 209 214 218 221 225 238 241 244 247 250 254 257 261
> 264
> >>> 267 271 278 282 287 292
> >>> 207 212 216 219 222 227 239 242 245 248 252 255 259 262
> 265
> >>> 269 272 280 283 288 293
> >>> 208 213 217 220 224 230 240 243 246 249 253 256 260 263
> 266
> >>> 270 276 281 286 289 294
> >>> [root@deba 2]#
> >>>
> >>> should I delete them?
> >>>
> >>>
> >>> On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <andrija.panic@gmail.com
> >
> >>> wrote:
> >>>
> >>>> There is template.properties file inside each template folder - you
> can
> >>>> read these and get information for each template..,and choose which
> one
> >>> to
> >>>> delete....these folders/templates seems like they all belong to
> >> different
> >>>> accounts inside same domain - too much folders if you really have only
> >> 6
> >>>> isos...
> >>>>> On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
> >>>>>
> >>>>> Hello,
> >>>>> I have a 1TB of secondary Storage which is 79% used but I only have 6
> >>>> ISOs
> >>>>> and 3 templates. I am using XenServer 6.2.
> >>>>>
> >>>>> Secondary Storage is a NFS server: du -h
> >>>>> 16G ./template/tmpl/2/239
> >>>>> 16G ./template/tmpl/2/218
> >>>>> 7.5G ./template/tmpl/2/282
> >>>>> 16G ./template/tmpl/2/245
> >>>>> 16G ./template/tmpl/2/246
> >>>>> 13G ./template/tmpl/2/271
> >>>>> 7.5G ./template/tmpl/2/257
> >>>>> 2.5G ./template/tmpl/2/288
> >>>>> 399M ./template/tmpl/2/209
> >>>>> 12G ./template/tmpl/2/254
> >>>>> 16G ./template/tmpl/2/238
> >>>>> 16G ./template/tmpl/2/261
> >>>>> 16G ./template/tmpl/2/243
> >>>>> 12G ./template/tmpl/2/252
> >>>>> 16G ./template/tmpl/2/267
> >>>>> 13G ./template/tmpl/2/270
> >>>>> 12G ./template/tmpl/2/250
> >>>>> 13G ./template/tmpl/2/272
> >>>>> 16G ./template/tmpl/2/214
> >>>>> 16G ./template/tmpl/2/230
> >>>>> 13G ./template/tmpl/2/266
> >>>>> 16G ./template/tmpl/2/292
> >>>>> 16G ./template/tmpl/2/278
> >>>>> 16G ./template/tmpl/2/240
> >>>>> 16G ./template/tmpl/2/213
> >>>>> 13G ./template/tmpl/2/269
> >>>>> 7.5G ./template/tmpl/2/256
> >>>>> 11G ./template/tmpl/2/264
> >>>>> 1.4G ./template/tmpl/2/294
> >>>>> 744G ./template/tmpl/2
> >>>>> 750G ./template/tmpl
> >>>>> 750G ./template
> >>>>> 4.0K ./volumes
> >>>>> 750G .
> >>>>>
> >>>>> would it be safe to delete some of this templates manaully? if yes
> >> how
> >>>> can
> >>>>> I identified a replicated templates and delete them?
> >>>>>
> >>>>> --
> >>>>> Thanks for your support,
> >>>>> Motty
> >>>
> >>>
> >>>
> >>> --
> >>> Thanks for your support,
> >>> Motty
> >
> >
> >
> > --
> > Thanks for your support,
> > Motty
>
--
Thanks for your support,
Motty
Re: Cloudstack Secondary Storage filling up
Posted by abhisek basu <ab...@msn.com>.
Do you have many snapshots for large volumes? Please check snapshot directory in side secondary storage as well.
Sent from my iPhone
> On 4 Nov 2014, at 4:13 am, "motty cruz" <mo...@gmail.com> wrote:
>
> yes that is correct! I only have 6 ISOs but the secondary storage is 79%
> full out of 1TB I have 200GB of free space.
>
> when I execute "du -h" 16G ./219
> but when I execute command "ls" I don't see anything
> so I did " ls -la" I see a hidden file
> 265]# ls -la
> total 13134948
> drwxrwxrwx 2 root root 4096 Sep 30 14:19 .
> drwxrwxrwx 62 root root 4096 Nov 3 14:41 ..
> -rw-r--r-- 1 root root 13450174464 Sep 30 14:21
> .nfs0000000003f4007500000013
>
> so I am asking if this file is OK to delete.
>
> Thanks in advance!
> Motty
>
> On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic <an...@gmail.com>
> wrote:
>
>> If they are completely empty - yes. But what is the point with deleting the
>> empty folders? And dont really understand your original issue ? You said
>> you have only 6 isos but storage is 79%full ?
>>> On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com> wrote:
>>>
>>> Thanks Andrija,
>>> some of the folders seem to be empty:
>>> 2]# du -h | less
>>> 16G ./280
>>>
>>> [root@debka 2]# cd 280
>>> [root@debka 280]# ls
>>> [root@debka 280]# ls
>>>
>>>
>>> [root@deba 2]# pwd
>>> /export/secondary/template/tmpl/2
>>> [root@deba 2]# ls
>>> 202 209 214 218 221 225 238 241 244 247 250 254 257 261 264
>>> 267 271 278 282 287 292
>>> 207 212 216 219 222 227 239 242 245 248 252 255 259 262 265
>>> 269 272 280 283 288 293
>>> 208 213 217 220 224 230 240 243 246 249 253 256 260 263 266
>>> 270 276 281 286 289 294
>>> [root@deba 2]#
>>>
>>> should I delete them?
>>>
>>>
>>> On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <an...@gmail.com>
>>> wrote:
>>>
>>>> There is template.properties file inside each template folder - you can
>>>> read these and get information for each template..,and choose which one
>>> to
>>>> delete....these folders/templates seems like they all belong to
>> different
>>>> accounts inside same domain - too much folders if you really have only
>> 6
>>>> isos...
>>>>> On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
>>>>>
>>>>> Hello,
>>>>> I have a 1TB of secondary Storage which is 79% used but I only have 6
>>>> ISOs
>>>>> and 3 templates. I am using XenServer 6.2.
>>>>>
>>>>> Secondary Storage is a NFS server: du -h
>>>>> 16G ./template/tmpl/2/239
>>>>> 16G ./template/tmpl/2/218
>>>>> 7.5G ./template/tmpl/2/282
>>>>> 16G ./template/tmpl/2/245
>>>>> 16G ./template/tmpl/2/246
>>>>> 13G ./template/tmpl/2/271
>>>>> 7.5G ./template/tmpl/2/257
>>>>> 2.5G ./template/tmpl/2/288
>>>>> 399M ./template/tmpl/2/209
>>>>> 12G ./template/tmpl/2/254
>>>>> 16G ./template/tmpl/2/238
>>>>> 16G ./template/tmpl/2/261
>>>>> 16G ./template/tmpl/2/243
>>>>> 12G ./template/tmpl/2/252
>>>>> 16G ./template/tmpl/2/267
>>>>> 13G ./template/tmpl/2/270
>>>>> 12G ./template/tmpl/2/250
>>>>> 13G ./template/tmpl/2/272
>>>>> 16G ./template/tmpl/2/214
>>>>> 16G ./template/tmpl/2/230
>>>>> 13G ./template/tmpl/2/266
>>>>> 16G ./template/tmpl/2/292
>>>>> 16G ./template/tmpl/2/278
>>>>> 16G ./template/tmpl/2/240
>>>>> 16G ./template/tmpl/2/213
>>>>> 13G ./template/tmpl/2/269
>>>>> 7.5G ./template/tmpl/2/256
>>>>> 11G ./template/tmpl/2/264
>>>>> 1.4G ./template/tmpl/2/294
>>>>> 744G ./template/tmpl/2
>>>>> 750G ./template/tmpl
>>>>> 750G ./template
>>>>> 4.0K ./volumes
>>>>> 750G .
>>>>>
>>>>> would it be safe to delete some of this templates manaully? if yes
>> how
>>>> can
>>>>> I identified a replicated templates and delete them?
>>>>>
>>>>> --
>>>>> Thanks for your support,
>>>>> Motty
>>>
>>>
>>>
>>> --
>>> Thanks for your support,
>>> Motty
>
>
>
> --
> Thanks for your support,
> Motty
Re: Cloudstack Secondary Storage filling up
Posted by motty cruz <mo...@gmail.com>.
yes that is correct! I only have 6 ISOs but the secondary storage is 79%
full out of 1TB I have 200GB of free space.
when I execute "du -h" 16G ./219
but when I execute command "ls" I don't see anything
so I did " ls -la" I see a hidden file
265]# ls -la
total 13134948
drwxrwxrwx 2 root root 4096 Sep 30 14:19 .
drwxrwxrwx 62 root root 4096 Nov 3 14:41 ..
-rw-r--r-- 1 root root 13450174464 Sep 30 14:21
.nfs0000000003f4007500000013
so I am asking if this file is OK to delete.
Thanks in advance!
Motty
On Mon, Nov 3, 2014 at 2:30 PM, Andrija Panic <an...@gmail.com>
wrote:
> If they are completely empty - yes. But what is the point with deleting the
> empty folders? And dont really understand your original issue ? You said
> you have only 6 isos but storage is 79%full ?
> On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com> wrote:
>
> > Thanks Andrija,
> > some of the folders seem to be empty:
> > 2]# du -h | less
> > 16G ./280
> >
> > [root@debka 2]# cd 280
> > [root@debka 280]# ls
> > [root@debka 280]# ls
> >
> >
> > [root@deba 2]# pwd
> > /export/secondary/template/tmpl/2
> > [root@deba 2]# ls
> > 202 209 214 218 221 225 238 241 244 247 250 254 257 261 264
> > 267 271 278 282 287 292
> > 207 212 216 219 222 227 239 242 245 248 252 255 259 262 265
> > 269 272 280 283 288 293
> > 208 213 217 220 224 230 240 243 246 249 253 256 260 263 266
> > 270 276 281 286 289 294
> > [root@deba 2]#
> >
> > should I delete them?
> >
> >
> > On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <an...@gmail.com>
> > wrote:
> >
> > > There is template.properties file inside each template folder - you can
> > > read these and get information for each template..,and choose which one
> > to
> > > delete....these folders/templates seems like they all belong to
> different
> > > accounts inside same domain - too much folders if you really have only
> 6
> > > isos...
> > > On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
> > >
> > > > Hello,
> > > > I have a 1TB of secondary Storage which is 79% used but I only have 6
> > > ISOs
> > > > and 3 templates. I am using XenServer 6.2.
> > > >
> > > > Secondary Storage is a NFS server: du -h
> > > > 16G ./template/tmpl/2/239
> > > > 16G ./template/tmpl/2/218
> > > > 7.5G ./template/tmpl/2/282
> > > > 16G ./template/tmpl/2/245
> > > > 16G ./template/tmpl/2/246
> > > > 13G ./template/tmpl/2/271
> > > > 7.5G ./template/tmpl/2/257
> > > > 2.5G ./template/tmpl/2/288
> > > > 399M ./template/tmpl/2/209
> > > > 12G ./template/tmpl/2/254
> > > > 16G ./template/tmpl/2/238
> > > > 16G ./template/tmpl/2/261
> > > > 16G ./template/tmpl/2/243
> > > > 12G ./template/tmpl/2/252
> > > > 16G ./template/tmpl/2/267
> > > > 13G ./template/tmpl/2/270
> > > > 12G ./template/tmpl/2/250
> > > > 13G ./template/tmpl/2/272
> > > > 16G ./template/tmpl/2/214
> > > > 16G ./template/tmpl/2/230
> > > > 13G ./template/tmpl/2/266
> > > > 16G ./template/tmpl/2/292
> > > > 16G ./template/tmpl/2/278
> > > > 16G ./template/tmpl/2/240
> > > > 16G ./template/tmpl/2/213
> > > > 13G ./template/tmpl/2/269
> > > > 7.5G ./template/tmpl/2/256
> > > > 11G ./template/tmpl/2/264
> > > > 1.4G ./template/tmpl/2/294
> > > > 744G ./template/tmpl/2
> > > > 750G ./template/tmpl
> > > > 750G ./template
> > > > 4.0K ./volumes
> > > > 750G .
> > > >
> > > > would it be safe to delete some of this templates manaully? if yes
> how
> > > can
> > > > I identified a replicated templates and delete them?
> > > >
> > > > --
> > > > Thanks for your support,
> > > > Motty
> > > >
> > >
> >
> >
> >
> > --
> > Thanks for your support,
> > Motty
> >
>
--
Thanks for your support,
Motty
Re: Cloudstack Secondary Storage filling up
Posted by Andrija Panic <an...@gmail.com>.
If they are completely empty - yes. But what is the point with deleting the
empty folders? And dont really understand your original issue ? You said
you have only 6 isos but storage is 79%full ?
On Nov 3, 2014 11:04 PM, "motty cruz" <mo...@gmail.com> wrote:
> Thanks Andrija,
> some of the folders seem to be empty:
> 2]# du -h | less
> 16G ./280
>
> [root@debka 2]# cd 280
> [root@debka 280]# ls
> [root@debka 280]# ls
>
>
> [root@deba 2]# pwd
> /export/secondary/template/tmpl/2
> [root@deba 2]# ls
> 202 209 214 218 221 225 238 241 244 247 250 254 257 261 264
> 267 271 278 282 287 292
> 207 212 216 219 222 227 239 242 245 248 252 255 259 262 265
> 269 272 280 283 288 293
> 208 213 217 220 224 230 240 243 246 249 253 256 260 263 266
> 270 276 281 286 289 294
> [root@deba 2]#
>
> should I delete them?
>
>
> On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <an...@gmail.com>
> wrote:
>
> > There is template.properties file inside each template folder - you can
> > read these and get information for each template..,and choose which one
> to
> > delete....these folders/templates seems like they all belong to different
> > accounts inside same domain - too much folders if you really have only 6
> > isos...
> > On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
> >
> > > Hello,
> > > I have a 1TB of secondary Storage which is 79% used but I only have 6
> > ISOs
> > > and 3 templates. I am using XenServer 6.2.
> > >
> > > Secondary Storage is a NFS server: du -h
> > > 16G ./template/tmpl/2/239
> > > 16G ./template/tmpl/2/218
> > > 7.5G ./template/tmpl/2/282
> > > 16G ./template/tmpl/2/245
> > > 16G ./template/tmpl/2/246
> > > 13G ./template/tmpl/2/271
> > > 7.5G ./template/tmpl/2/257
> > > 2.5G ./template/tmpl/2/288
> > > 399M ./template/tmpl/2/209
> > > 12G ./template/tmpl/2/254
> > > 16G ./template/tmpl/2/238
> > > 16G ./template/tmpl/2/261
> > > 16G ./template/tmpl/2/243
> > > 12G ./template/tmpl/2/252
> > > 16G ./template/tmpl/2/267
> > > 13G ./template/tmpl/2/270
> > > 12G ./template/tmpl/2/250
> > > 13G ./template/tmpl/2/272
> > > 16G ./template/tmpl/2/214
> > > 16G ./template/tmpl/2/230
> > > 13G ./template/tmpl/2/266
> > > 16G ./template/tmpl/2/292
> > > 16G ./template/tmpl/2/278
> > > 16G ./template/tmpl/2/240
> > > 16G ./template/tmpl/2/213
> > > 13G ./template/tmpl/2/269
> > > 7.5G ./template/tmpl/2/256
> > > 11G ./template/tmpl/2/264
> > > 1.4G ./template/tmpl/2/294
> > > 744G ./template/tmpl/2
> > > 750G ./template/tmpl
> > > 750G ./template
> > > 4.0K ./volumes
> > > 750G .
> > >
> > > would it be safe to delete some of this templates manaully? if yes how
> > can
> > > I identified a replicated templates and delete them?
> > >
> > > --
> > > Thanks for your support,
> > > Motty
> > >
> >
>
>
>
> --
> Thanks for your support,
> Motty
>
Re: Cloudstack Secondary Storage filling up
Posted by motty cruz <mo...@gmail.com>.
Thanks Andrija,
some of the folders seem to be empty:
2]# du -h | less
16G ./280
[root@debka 2]# cd 280
[root@debka 280]# ls
[root@debka 280]# ls
[root@deba 2]# pwd
/export/secondary/template/tmpl/2
[root@deba 2]# ls
202 209 214 218 221 225 238 241 244 247 250 254 257 261 264
267 271 278 282 287 292
207 212 216 219 222 227 239 242 245 248 252 255 259 262 265
269 272 280 283 288 293
208 213 217 220 224 230 240 243 246 249 253 256 260 263 266
270 276 281 286 289 294
[root@deba 2]#
should I delete them?
On Mon, Nov 3, 2014 at 1:45 PM, Andrija Panic <an...@gmail.com>
wrote:
> There is template.properties file inside each template folder - you can
> read these and get information for each template..,and choose which one to
> delete....these folders/templates seems like they all belong to different
> accounts inside same domain - too much folders if you really have only 6
> isos...
> On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
>
> > Hello,
> > I have a 1TB of secondary Storage which is 79% used but I only have 6
> ISOs
> > and 3 templates. I am using XenServer 6.2.
> >
> > Secondary Storage is a NFS server: du -h
> > 16G ./template/tmpl/2/239
> > 16G ./template/tmpl/2/218
> > 7.5G ./template/tmpl/2/282
> > 16G ./template/tmpl/2/245
> > 16G ./template/tmpl/2/246
> > 13G ./template/tmpl/2/271
> > 7.5G ./template/tmpl/2/257
> > 2.5G ./template/tmpl/2/288
> > 399M ./template/tmpl/2/209
> > 12G ./template/tmpl/2/254
> > 16G ./template/tmpl/2/238
> > 16G ./template/tmpl/2/261
> > 16G ./template/tmpl/2/243
> > 12G ./template/tmpl/2/252
> > 16G ./template/tmpl/2/267
> > 13G ./template/tmpl/2/270
> > 12G ./template/tmpl/2/250
> > 13G ./template/tmpl/2/272
> > 16G ./template/tmpl/2/214
> > 16G ./template/tmpl/2/230
> > 13G ./template/tmpl/2/266
> > 16G ./template/tmpl/2/292
> > 16G ./template/tmpl/2/278
> > 16G ./template/tmpl/2/240
> > 16G ./template/tmpl/2/213
> > 13G ./template/tmpl/2/269
> > 7.5G ./template/tmpl/2/256
> > 11G ./template/tmpl/2/264
> > 1.4G ./template/tmpl/2/294
> > 744G ./template/tmpl/2
> > 750G ./template/tmpl
> > 750G ./template
> > 4.0K ./volumes
> > 750G .
> >
> > would it be safe to delete some of this templates manaully? if yes how
> can
> > I identified a replicated templates and delete them?
> >
> > --
> > Thanks for your support,
> > Motty
> >
>
--
Thanks for your support,
Motty
Re: Cloudstack Secondary Storage filling up
Posted by Andrija Panic <an...@gmail.com>.
There is template.properties file inside each template folder - you can
read these and get information for each template..,and choose which one to
delete....these folders/templates seems like they all belong to different
accounts inside same domain - too much folders if you really have only 6
isos...
On Nov 3, 2014 10:33 PM, "motty cruz" <mo...@gmail.com> wrote:
> Hello,
> I have a 1TB of secondary Storage which is 79% used but I only have 6 ISOs
> and 3 templates. I am using XenServer 6.2.
>
> Secondary Storage is a NFS server: du -h
> 16G ./template/tmpl/2/239
> 16G ./template/tmpl/2/218
> 7.5G ./template/tmpl/2/282
> 16G ./template/tmpl/2/245
> 16G ./template/tmpl/2/246
> 13G ./template/tmpl/2/271
> 7.5G ./template/tmpl/2/257
> 2.5G ./template/tmpl/2/288
> 399M ./template/tmpl/2/209
> 12G ./template/tmpl/2/254
> 16G ./template/tmpl/2/238
> 16G ./template/tmpl/2/261
> 16G ./template/tmpl/2/243
> 12G ./template/tmpl/2/252
> 16G ./template/tmpl/2/267
> 13G ./template/tmpl/2/270
> 12G ./template/tmpl/2/250
> 13G ./template/tmpl/2/272
> 16G ./template/tmpl/2/214
> 16G ./template/tmpl/2/230
> 13G ./template/tmpl/2/266
> 16G ./template/tmpl/2/292
> 16G ./template/tmpl/2/278
> 16G ./template/tmpl/2/240
> 16G ./template/tmpl/2/213
> 13G ./template/tmpl/2/269
> 7.5G ./template/tmpl/2/256
> 11G ./template/tmpl/2/264
> 1.4G ./template/tmpl/2/294
> 744G ./template/tmpl/2
> 750G ./template/tmpl
> 750G ./template
> 4.0K ./volumes
> 750G .
>
> would it be safe to delete some of this templates manaully? if yes how can
> I identified a replicated templates and delete them?
>
> --
> Thanks for your support,
> Motty
>