my old server was ubuntu 16.04 and my new server is ubuntu 22.04 i used uuid on both setups this is the fstab from the old server Code: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/servers--vg-root / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1 # /boot was on /dev/sda1 during installation UUID=279f15a7-672a-4e7b-9e92-7caa4488edf1 /boot ext2 defaults 0 2 /dev/mapper/servers--vg-swap_1 none swap sw 0 0 /var/log/ispconfig/httpd/website1.com /var/www/clients/client1/web1/log none bind,nobootwait 0 0 UUID=8056f03c-69c7-4255-9df6-b69332f91ed6 /var/www/clients/client1/web1/ftp ext4 defaults 0 0 /var/log/ispconfig/httpd/website2.com /var/www/clients/client0/web3/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/website3.com /var/www/clients/client0/web4/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/website4.com /var/www/clients/client2/web2/log none bind,nofail 0 0 #server backup /server/image/backup /var/log/ispconfig/httpd/website4.com /var/www/clients/client2/web2/log none bind,nofail 0 0 UUID=ea62b618-37a5-4860-86a9-c657cbe6d946 /var/www/clients/client1/web1/ftp/Everything-Else ext4 defaults 0 0 1,1 Top new server fstab Code: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/ubuntu-vg/ubuntu-lv during curtin installation /dev/disk/by-id/dm-uuid-LVM-uFR1DoqRrpTQdjzAPwQvq2zpllMB60amY0JHtvccMU7ZeQXEEwCATurhSLyPUY71 / ext4 defaults,usrjquota=quota.user,g> # /boot was on /dev/sda2 during curtin installation /dev/disk/by-uuid/53e13eef-edd4-4e8e-844a-93bef8757b8c /boot ext4 defaults 0 1 /swap.img none swap sw 0 0 /var/log/ispconfig/httpd/website1.com /var/www/clients/client1/web1/log none bind,nofail 0 0 /var/log/ispconfig/httpd/website2s.com /var/www/clients/client2/web2/log none bind,nofail 0 0 /var/log/ispconfig/httpd/website3.com /var/www/clients/client3/web3/log none bind,nofail 0 0 the 2 drives i want to add are Code: UUID=8056f03c-69c7-4255-9df6-b69332f91ed6 /var/www/clients/client1/web1/ftp ext4 defaults 0 0 UUID=ea62b618-37a5-4860-86a9-c657cbe6d946 /var/www/clients/client1/web1/ftp/Everything-Else ext4 defaults 0 0 so i just added these two lines to the new server fstab. then i rebooted the machine apon reboot the machine went most of the way to boot then stopped and asked me to use ctrl d to continue or enter root password. i dont remember the exactly what it asked but something about a configuration error and was in rescue mode? i tried ctrl d with no succus so then entered root password and then edit fstab nano /etc/fstab and removed the 2 lines i added then unplugged the power to the drives and then reboot and everything fired back up as it should. both of these drives have info on them and i am not sure what to look at to get them back up thanks for any help kwick
Why not write it down when you see an error message? Anyway, I'm not sure it is wise to mount the disks to the same directory they were previously mounted on, there may be something there already. Or you have not created the mount point directory? I would examine the disk situation with commands Code: fdisk -l ls -lh /dev/disk/by-uuid and read man pages for commands blkid and lsblk to further see info about the disk devices. Then try as root manually mounting the disk device, it is command mount, man page available. When this works consider adding the disk device to /etc/fstab. I all fails, try Internet Search Engines with suitable search terms, something like "add disk device linux".