yes I did.
[root@localhost raid]# apaste ls -al /mnt/raid Usage: apaste [OPTION]... [FILE]...
send text file(s), stdin, or clipboard to the https://paste.fedoraproject.org/ pastebin and return the URL.
Examples:
apaste file1.txt file2.txt
dmesg | apaste
(prog1; prog2; prog3) | fpaste
apaste --sysinfo -d "my laptop" --confirm
apaste -n codemonkey -d "problem with foo" -l python foo.py
apaste: error: no such option: -a
I know i'm doing something wrong.
SOLVED: Can't acces shares from anywhere, Windows 10 and OS X
Re: Can't acces shares from anywhere, Windows 10 and OS X
Try putting the | (pipe) between apaste and ls -al
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can't acces shares from anywhere, Windows 10 and OS X
apaste | ls -al /mnt/raid
total 36
drwxr-xr-x 6 root root 4096 Sep 16 20:33 .
drwxr-xr-x. 3 root root 4096 Sep 14 19:25 ..
drwxrwsr-x 2 root users 4096 Sep 13 22:12 amahi-time-machine
drwx------ 2 root root 16384 Sep 14 19:24 lost+found
drwxrwxrwx 2 root root 4096 Sep 16 20:21 movies
drwxrwxr-x 2 root root 4096 Sep 16 20:33 music
total 36
drwxr-xr-x 6 root root 4096 Sep 16 20:33 .
drwxr-xr-x. 3 root root 4096 Sep 14 19:25 ..
drwxrwsr-x 2 root users 4096 Sep 13 22:12 amahi-time-machine
drwx------ 2 root root 16384 Sep 14 19:24 lost+found
drwxrwxrwx 2 root root 4096 Sep 16 20:21 movies
drwxrwxr-x 2 root root 4096 Sep 16 20:33 music
Re: Can't acces shares from anywhere, Windows 10 and OS X
Permissions are likely your issue.
Directories and files have to be owned by the 1st admin user:users, not root.
To change it do:
Replace 1st admin user with the user you created when installing Fedora.
I have never understood why home users use RAID. Greyhole does a similar job and provides file duplication without the complication of RAID. If a drive goes bad with Greyhole and you use Max Copies, just replace the drive and run a fcsk.
Just my opinion, but RAID has more pitfalls when a drive fails that Greyhole. I use Greyhole with my HDA and have 3 drives. Never lost a file yet! Likely hood of all 3 drives failing at once would be rare.
Plus if you accidentally delete a file with Greyhole, it's easy to recover. Not so much with RAID. Greyhole does not require all the drives used to be the same size which if I recall is a must for RAID.
Directories and files have to be owned by the 1st admin user:users, not root.
To change it do:
Code: Select all
sudo chown -R 1st admin user:users /mnt/raid/
I have never understood why home users use RAID. Greyhole does a similar job and provides file duplication without the complication of RAID. If a drive goes bad with Greyhole and you use Max Copies, just replace the drive and run a fcsk.
Just my opinion, but RAID has more pitfalls when a drive fails that Greyhole. I use Greyhole with my HDA and have 3 drives. Never lost a file yet! Likely hood of all 3 drives failing at once would be rare.
Plus if you accidentally delete a file with Greyhole, it's easy to recover. Not so much with RAID. Greyhole does not require all the drives used to be the same size which if I recall is a must for RAID.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can't acces shares from anywhere, Windows 10 and OS X
You are probably right, and you can blame that to lack of knowledge on my part. Raid served me well so far, until this install.
on the other hand, i did :
sudo chown -R myusername user:users /mnt/raid/
but i get
chown: cannot access ‘user:users’: No such file or directory
i know more more about mdadm and fstab than chown.... :/
on the other hand, i did :
sudo chown -R myusername user:users /mnt/raid/
but i get
chown: cannot access ‘user:users’: No such file or directory
i know more more about mdadm and fstab than chown.... :/
Re: Can't acces shares from anywhere, Windows 10 and OS X
Doing
sudo chown -R myusername /mnt/raid/
returned no error but didn't change my situation.
sudo chown -R myusername /mnt/raid/
returned no error but didn't change my situation.
Re: Can't acces shares from anywhere, Windows 10 and OS X
Did it change the ownership?
Provide the result of the following:
Provide the result of the following:
Code: Select all
echo -e "SELECT name, path, CASE WHEN rdonly=1 THEN 'Y' ELSE 'N' END as 'Read Only', CASE WHEN visible=1 THEN 'Y' ELSE 'N' END as 'Visible', CASE WHEN everyone=1 THEN 'Y' ELSE 'N' END as 'Everyone', tags, extras, CASE WHEN disk_pool_copies=999 THEN 'Max' ELSE disk_pool_copies END as 'Disk Pool Copies', CASE WHEN guest_access=1 THEN 'Y' ELSE 'N' END as 'Guest Access', CASE WHEN guest_writeable=1 THEN 'Y' ELSE 'N' END as 'Guest Writeable' FROM shares;" | mysql -t -uroot -phda hda_production
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can't acces shares from anywhere, Windows 10 and OS X
+--------+------------------+-----------+---------+----------+------+--------+------------------+--------------+-----------------+
| name | path | Read Only | Visible | Everyone | tags | extras | Disk Pool Copies | Guest Access | Guest Writeable |
+--------+------------------+-----------+---------+----------+------+--------+------------------+--------------+-----------------+
| Movies | /mnt/raid/movies | N | Y | Y | | NULL | 0 | N | N |
| Music | /mnt/raid/music | N | Y | Y | | NULL | 0 | N | N |
+--------+------------------+-----------+---------+----------+------+--------+------------------+--------------+-----------------+
| name | path | Read Only | Visible | Everyone | tags | extras | Disk Pool Copies | Guest Access | Guest Writeable |
+--------+------------------+-----------+---------+----------+------+--------+------------------+--------------+-----------------+
| Movies | /mnt/raid/movies | N | Y | Y | | NULL | 0 | N | N |
| Music | /mnt/raid/music | N | Y | Y | | NULL | 0 | N | N |
+--------+------------------+-----------+---------+----------+------+--------+------------------+--------------+-----------------+
Re: Can't acces shares from anywhere, Windows 10 and OS X
Now output of this command:
Code: Select all
apaste | ls -al /mnt/raid
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Can't acces shares from anywhere, Windows 10 and OS X
apaste | ls -al /mnt/raid
total 36
drwxr-xr-x 6 Hugues root 4096 Sep 16 20:33 .
drwxr-xr-x. 3 root root 4096 Sep 14 19:25 ..
drwxrwsr-x 2 Hugues users 4096 Sep 13 22:12 amahi-time-machine
drwx------ 2 Hugues root 16384 Sep 14 19:24 lost+found
drwxrwxrwx 2 Hugues root 4096 Sep 16 20:21 movies
drwxrwxr-x 2 Hugues root 4096 Sep 16 20:33 music
total 36
drwxr-xr-x 6 Hugues root 4096 Sep 16 20:33 .
drwxr-xr-x. 3 root root 4096 Sep 14 19:25 ..
drwxrwsr-x 2 Hugues users 4096 Sep 13 22:12 amahi-time-machine
drwx------ 2 Hugues root 16384 Sep 14 19:24 lost+found
drwxrwxrwx 2 Hugues root 4096 Sep 16 20:21 movies
drwxrwxr-x 2 Hugues root 4096 Sep 16 20:33 music
Who is online
Users browsing this forum: No registered users and 59 guests