Cant create linked folders

Issues related to configuring your network
Post Reply
nis26655
Posts: 3
Joined: 2018/08/22 08:05:13

Cant create linked folders

Post by nis26655 » 2018/08/22 08:43:43

Hello.

I want copy files from an old CentOS 6.6 computer to a new with CentOS 7.5-1804.
For this i would create linked folders.
But this doesnt work....
I have no direct access to the computers, so i cant connect external drives or usb-stick.

CentOS 6.6
IP-Adress: 172.20.74.13
/etc/hosts:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.20.74.14 amdehseerp
Ping to name and adress OK.

Firewall disabled.
SELINUX disabled.
Updates and install tools (like cifs-utils) is not possible.
Mirror- and Serverlists are not up to date.
Update doesnt work. Something is wrong with the repolist.
EDIT: Could fix the update problem. CentOS 6.6 is updated.

CentOS 7.5-1804
IP-Adress: 172.20.74.14
/etc/hosts:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.20.74.13 brunieserver.xxxx.local
Ping to name and adress OK.

System is up to date.
SELINUX disabled.
Firewall is activated and conigured.
Konfiguration:
firewall-cmd --permanent --add-port=2000/tcp
firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --permanent --zone=public --add-port=8080/tcp
firewall-cmd --permanent --zone=public --add-port=4443/tcp
firewall-cmd --permanent --zone=public --add-port=4848/tcp
firewall-cmd --permanent --add-port=137/tcp
firewall-cmd --permanent --add-port=138/tcp
firewall-cmd --permanent --zone=public --add-port=139/tcp
firewall-cmd --permanent --zone=public --add-port=445/tcp
firewall-cmd --reload


#
# /etc/fstab
# Created by anaconda on Wed Aug 8 09:17:56 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos_amdehseerp-root / ext4 defaults 1 1
UUID=aac835e2-d0f9-416b-83d5-18f003ce71cb /boot ext4 defaults 1 2
/dev/mapper/centos_amdehseerp-home /home ext4 defaults 1 2
/dev/mapper/centos_amdehseerp-swap swap swap defaults 0 0
//172.20.74.13/backup /altes-backup cifs uid=0,gid=0,dir_mode=0777,file_mode=0777,username=xxxx,password=xxxx
//172.20.74.13/brunie /altes-brunie cifs uid=0,gid=0,dir_mode=0777,file_mode=0777,username=xxxx,password=xxxx
//172.20.74.13/srv/shares/brunie /altes-srv-shares-brunie cifs uid=0,gid=0,dir_mode=0777,file_mode=0777,username=xxxx,password=xxxx

EDIT -ON-
I tried different versions:
//172.20.74.13/backup /altes-backup cifs vers=2.0,uid=0,gid=0,username=xxxx,password=xxxx

//172.20.74.13/backup /altes-backup cifs vers=2.0,username=xxxx,password=xxxx

//172.20.74.13/backup /altes-backup cifs vers=2.0,username=xxxx,password=xxxx,uid=1000,gid=1000 0 0

//172.20.74.13/backup /altes-backup cifs vers=1.0,username=xxxx,password=xxxx

//172.20.74.13/backup /altes-backup cifs username=xxxx,password=xxxx

Always the same error:
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I checked all log-files: there is no notice about connection to //172.20.74.13.
EDIT -OFF-
EDIT 23.08.2018 -ON-
I tried this today:
sudo mount //172.20.74.13/backup /altes-backup
Get ask for the local root password.
Get ask for the root password from 172.20.74.13.
Get the same error:
Password for root@//172.20.74.13/backup: ********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
EDIT 23.08.2018 - ON-

The same configuration between a CentOS 6.4 and CentOS 7.5-1804 works fine.

Here i get an error:
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Where is my mistake?
I dont know....
If you need more information, i will post what is possible.

greetings Daniel
Last edited by nis26655 on 2018/08/23 06:18:24, edited 1 time in total.

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: Cant create linked folders

Post by tunk » 2018/08/22 17:43:07

If it's a one-time copy, then scp or rsync could be altenatives.

nis26655
Posts: 3
Joined: 2018/08/22 08:05:13

Re: Cant create linked folders

Post by nis26655 » 2018/08/23 07:30:31

OK.
I will use SCP. It is the best method.

But how can i solve the basic problem?

greetings Daniel

Post Reply