You are not logged in.
Pages: 1
Hello everyone.
I migrated from Manjaro a few days ago. Was able to install Arch on my ssd.
When I mounted my second drive I notice it mounted as folder...long story short i created another mount point finally showed up as drive.
But now I cant seemed to view or have access to my file. This was the command I ran:
sudo mkdir /media/storagehdd
sudo mount /dev/sda1 /media/storagehdd
i also tried the standard syntax found on the wiki page
# mkdir /mnt/mydir1
# mount /dev/sdXY /mnt/mydir1this is my fstab file configuration:
# /dev/sda1
UUID=330b807e-f43f-45dc-ab07-f83f3616ee3a /media/backup ext4 rw,relatime,user,exec, data=ordered 0 0this is what I see when i run blkid
/dev/sda1: LABEL="Storage" UUID="330b807e-f43f-45dc-ab07-f83f3616ee3a" TYPE="ext4" PARTUUID="221a6dc7-9d3d-4daf-a6d0-969d0dbc9371"from proc/mounts
/dev/sda1 /media/backup ext4 rw,nosuid,nodev,relatime,data=ordered 0 0i ran lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part /media/backup
sdb 8:16 0 111.8G 0 disk
├─sdb1 8:17 0 80G 0 part /home
├─sdb2 8:18 0 28.3G 0 part /
└─sdb3 8:19 0 3.5G 0 part [SWAP] finally
ls -l /media/backup
total 0 Any help you guys can provide is greatly appreciated and thank you.
Last edited by ccerna1 (2016-03-07 17:56:47)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
You created the mountpoint at /media/storagehdd but the output of /proc/mounts shows /media/backup. Please run `mount -a` and then paste the output of `mount`.
Not an Installation issue, moving to NC...
Offline
Thank you Jason for following up.
You are correct the mountpoint is /media/backup.
Not sure why I entered that it was a long night trying to get this resolved before i posted on the forums.
Below is the code for proc/mounts:
sudo mount -a
mount: /etc/fstab: parse error: ignore entry at line 15 **Line 15 is my drive that am trying to get working and show all my files.
Below is line 15 from fstab:
UUID=330b807e-f43f-45dc-ab07-f83f3616ee3a /media/backup ext4 rw,relatime,user,exec, data=ordered 0 0 Offline
fstab fields are tab/space seperated
UUID=330b807e-f43f-45dc-ab07-f83f3616ee3a /media/backup ext4 rw,relatime,user,exec, data=ordered 0 0 is being split to
Field # Expected Type Value
1 fs_spec UUID=330b807e-f43f-45dc-ab07-f83f3616ee3a
2 fs_file /media/backup
3 fs_vfstype ext4
4 fs_mntops rw,relatime,user,exec,
5 fs_freq data=ordered
6 fs_passno 0
7 ??????? 0There should be only six fields so the parse error
Offline
Thank you for replying so you are saying that I need to tab after each entry for sda1 in the fstab? ok let me fix it and will report back!
Offline
No, the problem is that there's a space in the fs_mntops field that shouldn't be there:
rw,relatime,user,exec, data=orderedBut whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I re-ran blkid, and proc mounts and updated the fstab:
UUID=330b807e-f43f-45dc-ab07-f83f3616ee3a /media/backup ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
Offline
Running blkid just prints information and doesn't affect the system in any way. The file /proc/mounts is maintained by the system and shouldn't be manually modified. It just contains the same information that would be printed if you ran mount with no options. Are you trying to edit it or something?
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
wanted to make sure i had the correct text entered in the fstab entry is all. I remove the spaces but sadly the am not seeing my data. Is looking like I may have to count my files as lost.
Offline
I remove the spaces but sadly the am not seeing my data. Is looking like I may have to count my files as lost.
What did you do after you you had edited the fstab? You have not mentioned using mount to explicitly mount it or rebooting so that the systemd generator would mount it, so why would it be mounted?
Offline
I proceeded and rebooted my machine. The hard drive was already mounted the issue was the files that were there before the upgrade to Arch are no longer showing up.
Offline
If you don't even see 'lost+found' then at some point you must have recursively deleted everything from the volume as root.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Jason and Alpha thank you for your help. It seems when I tried to mounted (created a new mount point) something hosed the data. After two days of this I just reformated the drive as much as it pains me. Thank you again for the help folks greatly appreciated.
Offline
Pages: 1