Solved

Re-installing Ubuntu Server with Samba Question

Posted on 2014-11-11
6
267 Views
Last Modified: 2014-11-12
I have a Ubuntu 12.04 server that has gotten totally out of sync with the kernal upgrades. So far, none of the apt-get package commands will clean up the system. I have decided to blow the system away and start with a fresh install.

My main question has to do with the Samba server. If I keep the RAID intact, and therefore my Samba data stores, /srv/samba/share/xxx, when I reinstall the O/S and Samba, will Samba be able to see my shared volumes as before?
0
Comment
Question by:RayRider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40436712
You can upgrade system in place to a supported kernel:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
No, it is not so easy with samba shares, you need databases from /var/lib/samba too. I'd start installing a new server instead of messing with existing one.
0
 

Author Comment

by:RayRider
ID: 40438719
Gheist:

Tell me this: If I do a clean install of  server version 14.01.1 LTS, and do NOT repartition the RAID, therefore keeping my Samba stores, can I simply point the smb.conf share stanzas to the pre-install share directories, and keep my old share points?

I am forced to do a clean install. This problem started out with /boot filling up. I am unable to say what I did wrong in freeing up space. But, none of any package updates would work. I followed every suggestion in the blogs, etc., to clean up. But, every package upgrade would complain about dependencies. In other words, the upgrades were looking for kernel level xxx, but I had yyy. I finally, manually deleted the series of files in /boot related to old kernels, i.e., config*, initrd* and system*. However the upgrade to 14 LTS seemed to be flowing along OK until near the end, but failed and left the box in an unusual state where many things no longer work. I am forced to do a clean install, but would like to keep my Samba shares if possible.
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40438748
'apt-get autoremove'
will clean up old kernels.

If samba is on separate filesystem it may work
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:RayRider
ID: 40438784
Gheist:

'apt-get autoremove' failed to clean out any old kernels. After looking for a solution for so long, it became apparent to me that I didn't have the expertise to "fix this beast", and decided that a clean install was my best move. It would be nice to keep the old Samba shares. But, I probably have the data in other places, but will be a pain to find it all, and restore after the rebuild.

This server has been such a stable and reliable machine, not requiring me to spend much time with it. Therefore, I lose my expertise after so long. Actually, it will be fun to go through a complete rebuild.

Thanks for your help. I will award the points to close this out.
0
 

Author Closing Comment

by:RayRider
ID: 40438785
Thanks again!!
0
 
LVL 62

Expert Comment

by:gheist
ID: 40438816
you can boot off a livecd and copy shares .
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question