Jump to content

Backup backup backup!


 Share

Recommended Posts

Whenever you are doing something to your system and the tool warns you to back up your data, it is definitely a good idea to do it.

 

I saw that my /usr partition was getting close to full, so I decided to create a /usr/bin partition with diskdrake. I created it and formatted it in the wrong order, losing everything in /usr/bin. That's tough to recover from, but probably not as tough as if I would've lost /bin or /sbin doing this. Now I have to go through

 

rpm -qa

 

and do

 

rpm -ivh --replacepkgs

 

for everything to get it all back. The good thing is since rpm still thinks everything is installed, I don't have to install them in any particular order because of dependencies.

 

Lesson 102334261 learned.

Link to comment
Share on other sites

Well, it looks like I'm going to have to reinstall:

 

# df -a

Filesystem            Size  Used Avail Use% Mounted on

/dev/hdb1             997M  563M  435M  57% /

none                     0     0     0   -  /proc

none                     0     0     0   -  /dev/pts

/dev/hdb6             1.4G  157M  1.2G  12% /home

/dev/hda9             4.3G  2.3G  2.0G  54% /mnt/81home

/dev/hda7              15G  633M   15G   5% /mnt/81root

/dev/hda8              20G  2.1G   18G  11% /mnt/81usr

/dev/hda1             9.8G  3.3G  6.5G  34% /mnt/win_c

/dev/hda5              12G  3.4G  8.4G  30% /mnt/win_d

/dev/hda6             7.9G  1.9G  6.0G  24% /mnt/win_e

/dev/hdb5             2.2G  2.2G  4.0K 100% /usr

/dev/hdb7             2.1G  129M  1.9G   7% /var

/dev/hda11            5.9G   95M  5.8G   2% /usr/bin

/dev/hdb8             730M   71M  660M  10% /usr/local

/dev/scd0             651M  651M     0 100% /mnt/cdrom

/dev/scd1             650M  650M     0 100% /mnt/cdrom2

 

It won't let me add any more. I thought having a second partition for /usr/bin, it would install everything over there, but it looks like it is still adding it to the /usr partition

 

Edit: So far I haven't had to reinstall. I was able to create a new /usr partition and move the old one. Unfortunately, I lost everything in /usr/local which is not too bad, I guess. Well back to reinstalling everything I need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...