Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Ran mkswap on root partition, what can I do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lithium3141
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2004
Posts: 100

PostPosted: Wed Sep 14, 2005 9:21 pm    Post subject: [solved] Ran mkswap on root partition, what can I do? Reply with quote

While messing around with some of my disks, I had the misfortune of running mkswap on /dev/md2 (my root partition). It's supposed to be reiserfs. I'm making a backup of my data now just in case. The drive seems to be fine now, but I'm afraid to unmount and/or reboot. Is it safe to reboot? Do I need to run mkreiserfs and/or reiserfsck? What do I do?

Last edited by lithium3141 on Fri Sep 16, 2005 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
enar
n00b
n00b


Joined: 23 Feb 2005
Posts: 46
Location: Tallinn, Estonia

PostPosted: Thu Sep 15, 2005 5:23 am    Post subject: Reply with quote

Tried the same on two test installations running in vmware virtual machines.

Root partition ext3: fatal results.

Root partition reiserfs: rebooted without any errors and works.

It doesn't mean that it is safe to reboot, but perhaps gives you some indications.
Back to top
View user's profile Send private message
lithium3141
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2004
Posts: 100

PostPosted: Thu Sep 15, 2005 11:39 am    Post subject: Reply with quote

Good to know. Did you use RAID1 arrays in the installs? Would that even have any effect on the situation?

I'm almost done backing everything up - I may just try rebooting and see how it goes.
Back to top
View user's profile Send private message
enar
n00b
n00b


Joined: 23 Feb 2005
Posts: 46
Location: Tallinn, Estonia

PostPosted: Thu Sep 15, 2005 2:13 pm    Post subject: Reply with quote

It's a simple virtual machine install that I used for testing. VMWARE simulates SCSI disks, but it shouldn't matter in this case.
Back to top
View user's profile Send private message
lithium3141
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2004
Posts: 100

PostPosted: Fri Sep 16, 2005 7:18 pm    Post subject: Reply with quote

Just rebooted and had no problems. Moral of the story: use ReiserFS.

Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum