Moving mounting points from one Linux server to another

An old server needs to be put down...

The new one needs the old servers mounting points.

I copy the information from the fstab file to the new one yet not sure what else needs to be done.

I need this in the new Ubuntu v14 server:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/cciss/c0d0p5     232M  156M   65M  71% /
tmpfs                 507M     0  507M   0% /lib/init/rw
udev                   10M   60K   10M   1% /dev
tmpfs                 507M   16K  507M   1% /dev/shm
/dev/cciss/c0d0p2      70M   26M   41M  39% /boot
/dev/cciss/c0d0p6     3.3G  2.4G  674M  79% /usr
/dev/cciss/c0d0p7     123G   99G   24G  81% /var
/dev/cciss/c0d0p8     6.3G  2.1G  3.9G  35% /home
                      1.5T  1.3T  264G  83% /var/local/pos
smac-sancs01:/snap03  394G  302G   93G  77% /srv/snap03
                      144G   37G  108G  26% /var/local/dablahx/daxdata
                      144G   37G  108G  26% /var/local/dablahx/proddata
marceloNYCMiddle-Tier AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Many things do not make sense.

Mounting points are localized to the local server. One matches mounting points when application/services are migrated from one to another and one wants to  maintain configuration.

You have an external SAN NFS server

more /etc/fstab
external resources such as the SAN/SNAP have to be configured to allow the new server to access the same resources with the same settings. Note depending on the type of access, (NFS/SAMBA) you can have multiple hosts accessing/mounting the same resources. ISCSI and FC you can only have one resource accessing/mounting the LUN..

df -h does not

what is the df -h from the old versus the new?

Unless you are cloning the old one from the begining, I am not sure what your difficulty is.

Adjust/adapt to what you have unless you can reinstall the new in exactly the same layout as the old......
This looks like an HP Proliant DL360 (or similar) with RAID 5 with 3-4 72GB high speed drives.

If that's true, then when you setup the new server, you have to partition the main system to account for these:

The remainders (as arnold says)  are network mounts. These should be in /etc/fstab, but (as you say) you copied those over. Do the directories actually exist on the new server? (If not, there is nothing to mount).

What does mount on both machines say?
Additionally, if the new server is a different server, with different controllers, the /dev/cciss/ devices will show up completely differently. But, I think its irrelevant to what you're probably trying to accomplish...
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

marceloNYCMiddle-Tier AdministratorAuthor Commented:

I did not make the best question. Sorry and thank you for your time with this.

From old server what I need is this:


smac-blahblah01:/storehistory on /var/local/pos type nfs (rw,hard,intr,tcp,rsize=32768,wsize=32768,timeo=600,retrans=15,addr=172.16.xx.35)
smac-Blahblah01:/snap03 on /srv/snap03 type nfs (rw,hard,intr,tcp,rsize=32768,wsize=32768,timeo=600,retrans=15,addr=172.16.xx.35)
// on /var/local/dax/daxdata type cifs (rw,mand)
// on /var/local/dax/proddata type cifs (rw,mand)
on the new server you make sure you have /var/ and within it there is a local and within it there is a pos.
mkdir -p /var/local/pos
same with the other mount points
mkdir -p /srv/snap03
mkdir -p /var/local/dax/daxdata
mkdir /var/local/dax/prodata

Having done that, use getfacl to get the current settings on the old server which you would then use on the new server to apply ....

copy the relavent entries from the old FSTAB into the new server's fstab
mount -a and see if they mount
then check whether the mount point permissions after mounting the same as the data from the old server's getfacl report.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marceloNYCMiddle-Tier AdministratorAuthor Commented:
excellent this should get me going.

Thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.