Quote:
Originally Posted by
MadeInGermany
Ensure that the 100GB is not mounted. Then it can be trashed, you can add it to swap.
(If it's a partition on a physical disk on Sparc, it might give an error - in this case you must change the "wm" flag to "wu" in "format"s partition menu, in order to declare it unmountable. It's a good habit anyway.)
With used swap I mean the utilized swap, (blocks - free) in swap -l
Hi MadeInGermany,
Yeap. I am using SPARC and i managed to add the UFS partition as swap. It did not prompt me any error (but i am not sure if it is because the swap is not used yet)
I have also change the partition flag from wm to wu.
Regards,
Noob
---------- Post updated at 06:50 AM ---------- Previous update was at 06:47 AM ----------
Quote:
Originally Posted by
jlliagre
Well, if your 100Gb partition is empty, you can either create a swapfile in it, or trash the filesystem on it and use the partition as swap. The former method (swapfile) would be simpler to implement.
You should never configure a partition containing a file system as a raw swap device, especially if it is mounted at the same time. In any case, any actual paging operation will corrupt the file system.
Hi Jilliagre,
Thanks. Sorry for my poor english, but what do you mean by "trash the filesystem on it" ?
Do you mean to mount the 100GB partition as swap and ignore the fact of the UFS filesystem on it ?
(p.s. the 100GB is already umounted from its original mountpoint)
Regards,
Noob