Re: [opensuse] How to replace drive containing /swap ??



jdd wrote:
David C. Rankin a écrit :
Listmates,

Critical situation. Server running 100G drive. The drive started to
fail. Plenty of backups available and I was able to recovered all data
to another server. Installed fresh 250G sata drives configured in
hardware raid (sdb and sdc). Used the /swap from the failing drive (sda)
for install purposes because I didn't was to put swap on the raid. Fresh
10.3 install replacing last mandrake server went fine. Server runs fine,
just gives occasional /sda offline errors.

Problem, the old drive with /swap is sda, the /swap partition is sda5.
The sda drive must be replaced, but how?

The question: "Can I just install a new sda, and boot and then
partition a new /swap with yast, or, will the boot process freak out
when /swap isn't available and cause the boot to fail?" I'm going to try
it, but if someone else has done this and has advise to help avoid any
"gotchas", I would definitely appreciate a heads up.

Thanks!

if you have enough ram, stop the swap (swapoff), unset the swap file in fstab (write #on beginning of the swap line).

no swap is really needed

that depends on how much memory the system has, and how
much memory is consumed by the kernel and processes.


after that set any swap file on any disk (make swap, swap on) and re-enable the swap file

jdd





--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • RH 7.3 system crashing
    ... is used as a Samba server, cashing name server, internal web server ... SCSI drives setup as RAID5. ... restarted samba, apache and backup script ... Suspected swap area may be bad on drive. ...
    (comp.os.linux.misc)
  • Re: After manually undoing a recent MS Update, my server is a mess
    ... Keep in mind that I have seen OEM drivers up there so given that you've blown that image away, I can't say for certain that the 'critical' was 100% pushed by Microsoft. ... External USB is no replacement for local drives. ... LOL I show my naivety here when I say that I showed great diligence in my blind application of any MS suggested resolution to "Critical Errors" on my Small Business Server Monitor Report. ... When I got the first BSOD, I booted from the orginal CD and chose to only restore the System files. ...
    (microsoft.public.windows.server.sbs)
  • Re: After manually undoing a recent MS Update, my server is a mess
    ... information to login to my server remotely to look around--hoping he could ... External USB is no replacement for local drives. ... stored on) and chose to only restore the System files. ... The "Cases" drive was actually a shared folder on an external ...
    (microsoft.public.windows.server.sbs)
  • Re: After manually undoing a recent MS Update, my server is a mess
    ... During the restore, the server rebooted without confirmation. ... The "Cases" drive was actually a shared folder on an external ... I mirrored the two drives ...
    (microsoft.public.windows.server.sbs)
  • Re: After manually undoing a recent MS Update, my server is a mess
    ... Before installing this server, my users were accustomed to storing all of ... The "Cases" drive was actually a shared folder on an external ... I mirrored the two drives ... Connection-specific DNS Suffix. ...
    (microsoft.public.windows.server.sbs)