Avatar of marceloNYC
marceloNYC
Flag for United States of America asked on

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
smac-blah01:/storehistory
                      1.5T  1.3T  264G  83% /var/local/pos
smac-sancs01:/snap03  394G  302G   93G  77% /srv/snap03
//172.16.255.20/dax_data
                      144G   37G  108G  26% /var/local/dablahx/daxdata
//172.16.255.20/proddata
                      144G   37G  108G  26% /var/local/dablahx/proddata
LinuxLinux NetworkingLinux Distributions

Avatar of undefined
Last Comment
marceloNYC

8/22/2022 - Mon
arnold

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......
DrDamnit

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:
/dev/cciss/c0d0pX

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?
DrDamnit

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...
Your help has saved me hundreds of hours of internet surfing.
fblack61
marceloNYC

ASKER
Okay,

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

From old server what I need is this:

mount:
 

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)
//172.16.255.20/dax_data on /var/local/dax/daxdata type cifs (rw,mand)
//172.16.255.20/proddata on /var/local/dax/proddata type cifs (rw,mand)
ASKER CERTIFIED SOLUTION
arnold

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
marceloNYC

ASKER
excellent this should get me going.

Thank you