[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No swap on my Debian Sid system



On Wed, 25 Jan 2006 05:30:15 +0100, Anthony DeRobertis wrote:

> Hint: swapoff, then read the mdadm docs on how to zero any superblocks
> that may remain on the underlying partitions, then re-create the raid
> array.

That's what I did:

# swapoff /dev/sda2
# swapoff /dev/sdb2
# mdadm --assemble /dev/md1 /dev/sda2 /dev/sdb2
# mkswap /dev/md1
# swapon /dev/md1

And now:

jack@nostromo:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          1003        993         10          0         11        412
-/+ buffers/cache:        569        434
Swap:          486          0        486

Added /dev/md1 in /etc/fstab and everything works. Lovely.

Thanks everybody for help!

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64



Reply to: