This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Sync iSCSI on connections from two different PCs

iSCSI over TCP/IP.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
riahc3
NewUser
NewUser
Posts: 10
Joined: 21 Apr 2015 09:15
Status: Offline

Sync iSCSI on connections from two different PCs

Post by riahc3 »

I connect two different PCs to the same iSCSI on NAS4FREE and I créate folders one PC, it doesnt appear on the other. I can also créate the same filenames and no conflict or anything.

How can I get them to sync and appear on both size whenever there is a change?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by alexey123 »

Push F5 on second PC
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

riahc3
NewUser
NewUser
Posts: 10
Joined: 21 Apr 2015 09:15
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by riahc3 »

alexey123 wrote:Push F5 on second PC
...Are you being sarcastic or serious?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by b0ssman »

Allowing multiple hosts access to a single target is an exceptionally bad idea.
Doing so can lead to all manners of problems, including data corruption.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

riahc3
NewUser
NewUser
Posts: 10
Joined: 21 Apr 2015 09:15
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by riahc3 »

b0ssman wrote:Allowing multiple hosts access to a single target is an exceptionally bad idea.
Doing so can lead to all manners of problems, including data corruption.
Thank you for your warning but I still wish to do it.

How can I set it up in NAS4Free? From what I understand I might need a clustered file system which I dont mind formatting by current volumen to.

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by ChriZathens »

I am not really familiar with iSCSI' s internals, but from what I believe, it is not something you can setup in N4F's end.
It is the client that needs to have a filesystem which will support what you want to do.
I might be wrong, though, so please don't quote me on this...
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by b0ssman »

are you really sure that you need Block Level Storage instead of File Level Storage?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by crowi »

if you want to go that way you need a cluster file system like OCFS2 or GFS, otherwise concurrent writes of different machines will destroy your files.
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

riahc3
NewUser
NewUser
Posts: 10
Joined: 21 Apr 2015 09:15
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by riahc3 »

b0ssman wrote:are you really sure that you need Block Level Storage instead of File Level Storage?
Yup. Its the only way I can access the file from two different places at the same time.

riahc3
NewUser
NewUser
Posts: 10
Joined: 21 Apr 2015 09:15
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by riahc3 »

crowi wrote:if you want to go that way you need a cluster file system like OCFS2 or GFS, otherwise concurrent writes of different machines will destroy your files.
I have doubts on which of file system to choose for that...

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by b0ssman »

riahc3 wrote:
b0ssman wrote:are you really sure that you need Block Level Storage instead of File Level Storage?
Yup. Its the only way I can access the file from two different places at the same time.
You are not describing your scenario correctly. NFS., Samba, ftp and AFP let you do that we'll.


Sent from my iPhone using Tapatalk
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Sync iSCSI on connections from two different PCs

Post by alexey123 »

riahc3 wrote:
alexey123 wrote:Push F5 on second PC
...Are you being sarcastic or serious?
You right, I'm sarcastic.
1 iSCSI target for 2 or more initiators is no good idea. Target must be multipath device, you must have 1 NIC per initiator.. I not listen anything about support multipath for iSCSI target.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Post Reply

Return to “iSCSI (Internet Small Computer Systems Interface)”