Hi all,
I don't have a lot of experience playing with filesystems and such and I'm stuck.
Here's what I have:
I have a server with three SDDs installed. One is being used for the linux install or system. I'm using Ubuntu 20 and it's up and running fine.
I used fdisk to make a full-disk partition on another SDD at /dev/sdb. This seemed to work fine and I get this from the print command in fdisk:
I then created a mountpoint /mars:
(notice that the date is current and permissions are wide open -- this is on my private LAN)
I then do mount /dev/sdb1 /mars
df shows it mounted:
But now when I do an ls on the filesystem, the date is munged back to the beginning of the epoch
and the permissions are changed:
So I need help trying to understand what's happening here and how to fix it.
Any thoughts?
Thanks in advance,
keith
I don't have a lot of experience playing with filesystems and such and I'm stuck.
Here's what I have:
I have a server with three SDDs installed. One is being used for the linux install or system. I'm using Ubuntu 20 and it's up and running fine.
I used fdisk to make a full-disk partition on another SDD at /dev/sdb. This seemed to work fine and I get this from the print command in fdisk:
Code:
Command (m for help): p
Disk /dev/sdb: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: ADATA SU635
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa3b8828a
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 937703087 937701040 447.1G 83 Linux
Code:
drwxrwxrwx 2 root root 4096 Jul 1 22:04 mars
I then do mount /dev/sdb1 /mars
df shows it mounted:
Code:
.
.
.
/dev/loop8 63616 63616 0 100% /snap/gtk-common-themes/1506
/dev/sda1 523248 4 523244 1% /boot/efi
tmpfs 805924 32 805892 1% /run/user/1000
/dev/sdb1 523248 4 523244 1% /mars
and the permissions are changed:
Code:
drwxr-xr-x 2 root root 4096 Dec 31 1969 mars
So I need help trying to understand what's happening here and how to fix it.
Any thoughts?
Thanks in advance,
keith