Setting up /var/tmp as a partition fails with error 32. Not understanding the issue.
The disc is an SSD with the first partition raid used as /root. The rest of the disc is free. So I wanted: /var/tmp 100 GB /tmp 50 GB /swap rest of the disc (here 64 GB). Now, this should be easy. I attributed EXT4 ordered and noatimes. No problem to create /tmp and swap. But I get an error message for /var/tmp and I do not understand why: command '/bin/mount -t ext4 -o 'data=ordered,noatimes' '/dev/sdd2' '/var/tmp'' failed: stderr: mount: /var/tmp: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error. exit code: 32 Why would this be the case? Would a RAID partiton restrict the number of primary partitions two two? (three in total?). NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 232.9G 0 disk └─sda1 8:1 0 232.9G 0 part └─md127 9:127 0 232.9G 0 raid1 /srv /var /usr/local /root /opt /boot/grub2/x86_64-efi /boot/grub2/i386-pc /.snapshots / sdb 8:16 0 3.6T 0 disk └─sdb1 8:17 0 3.6T 0 part └─md0 9:0 0 3.6T 0 raid1 /home sdc 8:32 0 298.1G 0 disk ├─sdc1 8:33 0 1K 0 part └─sdc5 8:37 0 298.1G 0 part /boot/efi sdd 8:48 0 447.1G 0 disk ├─sdd1 8:49 0 232.9G 0 part │ └─md127 9:127 0 232.9G 0 raid1 /srv │ /var │ /usr/local │ /root │ /opt │ /boot/grub2/x86_64-efi │ /boot/grub2/i386-pc │ /.snapshots │ / ├─sdd2 8:50 0 100G 0 part ├─sdd3 8:51 0 50G 0 part /tmp └─sdd4 8:52 0 64.2G 0 part [SWAP] sde 8:64 0 3.6T 0 disk └─sde1 8:65 0 3.6T 0 part └─md0 9:0 0 3.6T 0 raid1 /home sdf 8:80 0 1.8T 0 disk └─sdf1 8:81 0 1.8T 0 part └─md126 9:126 0 1.8T 0 raid1 ├─md126p1 259:0 0 200G 0 part └─md126p2 259:1 0 1.6T 0 part /var/lib/libvirt sdg 8:96 0 1.8T 0 disk └─sdg1 8:97 0 1.8T 0 part └─md126 9:126 0 1.8T 0 raid1 ├─md126p1 259:0 0 200G 0 part └─md126p2 259:1 0 1.6T 0 part /var/lib/libvirt I am puzzled about the issue here. Thanks for helping me out.
it is of course a typo "noatimes" instead of the correct "noatime". How stupid, sorry. Solved.
participants (1)
-
Stakanov