nasac:users_documentation
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nasac:users_documentation [2023/08/29 10:01] – [How to manage SMB ACLs (AKA permissions)] remove internal link (this complements 1693303076) Luca Capello | nasac:users_documentation [2025/06/11 12:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| * // | * // | ||
| * //Mac or Linux//: \\ => enter the '' | * //Mac or Linux//: \\ => enter the '' | ||
| + | |||
| + | |||
| + | ==== Replication ==== | ||
| + | |||
| + | **NB**, this originates from (( https:// | ||
| + | |||
| + | To assure the service continuity in case of problems in the primary UNIGE DC at UniDufour, a **nightly** replication is automatically done at the secondary UNIGE DC at the Campus Biotech. | ||
| + | |||
| + | The main differences for the NAS infrastructure at the Campus Biotech are: | ||
| + | - 2 old nodes (4080 models //vs.// the 5300 at UniDufour) | ||
| + | - nor **4hourly** neither **weekly** snapshots, but **daily** ones (automatically taken **before** the nightly replication starts) | ||
| + | - no end-user access | ||
| Line 49: | Line 61: | ||
| ===== Data transfer ===== | ===== Data transfer ===== | ||
| + | |||
| + | ==== Migrate data to UNIGE tape solution ==== | ||
| + | |||
| + | **NB**, this originates from (( https:// | ||
| + | |||
| + | If you want to migrated NAS data (actually, **any data**...) to the UNIGE tape solution (cf. https:// | ||
| + | - calculate the size of the source folder | ||
| + | - calculate the MD5 hashes for each file in the source folder | ||
| + | - create a 2GB-by-default **split** (AKA multiple-file) '' | ||
| + | - list the destination folder content | ||
| + | - delete the source folder and all its content | ||
| + | |||
| + | <note important> | ||
| + | Given that InfoZip '' | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ ug-nas-create-zip-archive-from-folder.sh -h | ||
| + | UG-NAS: Create a split ZIP archive from a NAS folder | ||
| + | Usage: ug-nas-create-zip-archive-from-folder.sh [-h] [-s < | ||
| + | |||
| + | Options: | ||
| + | -h : display this help and exit | ||
| + | -s : split at GB (defaults to 2) | ||
| + | |||
| + | $ ug-nas-create-zip-archive-from-folder.sh \ | ||
| + | "/ | ||
| + | "/ | ||
| + | 2>&1 | \ | ||
| + | tee "/ | ||
| + | Thu 16 Nov 2023 11:48:49 AM CET | ||
| + | ===== | ||
| + | I: calculating source folder size... | ||
| + | 3.9G | ||
| + | ===== | ||
| + | Thu 16 Nov 2023 11:48:49 AM CET | ||
| + | ===== | ||
| + | I: generating MD5 checksum for each file in source folder... | ||
| + | [...] | ||
| + | |||
| + | real 1m3.094s | ||
| + | user 0m7.158s | ||
| + | sys | ||
| + | ===== | ||
| + | Thu 16 Nov 2023 11:49:52 AM CET | ||
| + | ===== | ||
| + | I: creating the split ZIP archive... | ||
| + | splitsize = 2147483648 | ||
| + | [...] | ||
| + | total bytes=4098480958, | ||
| + | |||
| + | real 2m48.380s | ||
| + | user 2m30.320s | ||
| + | sys | ||
| + | ===== | ||
| + | Thu 16 Nov 2023 11:52:40 AM CET | ||
| + | ===== | ||
| + | I: listing archive folder '/ | ||
| + | total 3768321 | ||
| + | [...] | ||
| + | ===== | ||
| + | Thu 16 Nov 2023 11:52:40 AM CET | ||
| + | ===== | ||
| + | I: deleting the source folder... | ||
| + | |||
| + | real 0m0.073s | ||
| + | user 0m0.004s | ||
| + | sys | ||
| + | ===== | ||
| + | Thu 16 Nov 2023 11:52:40 AM CET | ||
| + | ===== | ||
| + | I: all done! | ||
| + | $ | ||
| + | </ | ||
| ==== Access from outside the UNIGE network ==== | ==== Access from outside the UNIGE network ==== | ||
| Line 68: | Line 154: | ||
| ==== rsync ==== | ==== rsync ==== | ||
| - | **NB**, the following instructions come from (( https:// | + | **NB**, the following instructions come from (( https:// | 
| If you need to synchronize data to another folder, you can let `rsync` **3.1.0+** saves in the log file the MD5 checksum of any transferred file (cf. https:// | If you need to synchronize data to another folder, you can let `rsync` **3.1.0+** saves in the log file the MD5 checksum of any transferred file (cf. https:// | ||
| Line 95: | Line 181: | ||
| ===== Utilisation d'un partage SMB ===== | ===== Utilisation d'un partage SMB ===== | ||
| - | **NB**, this partly | + | **NB**, this partly | 
| + | |||
| + | There are 3 different actors involved in the life of an SMB share: | ||
| + | - the **DiSTIC RISE storage team** \\ => the infrastructure administrators and share configurators (allocated space, ACL administrative access and pass-through access) | ||
| + | - the share **owner** (AKA '' | ||
| + | - the share **administrators** (AKA '' | ||
| + | |||
| + | Please follow the links on the [[https:// | ||
| <note important> | <note important> | ||
| Line 168: | Line 261: | ||
| === Command line === | === Command line === | ||
| - |  | + | **NB**, this originates from (( https:// | 
| + | |||
| + |  | ||
| root@harlock: | root@harlock: | ||
| root@harlock: | root@harlock: | ||
| Line 181: | Line 276: | ||
| root@harlock: | root@harlock: | ||
| </ | </ | ||
| - | - via GVfs/Gio (//i.e.// the same " | + | - via GVfs/Gio (//i.e.// the same " | 
| capello@harlock: | capello@harlock: | ||
| Password required for share adm_home on nasac-faculty.isis.unige.ch | Password required for share adm_home on nasac-faculty.isis.unige.ch | ||
| Line 290: | Line 385: | ||
| ===== How to manage an NFS share ===== | ===== How to manage an NFS share ===== | ||
| - | **NB** , the following instructions come from <https:// | + | **NB** , the following instructions come from (( https:// | 
| + | |||
| + | <note important> | ||
| + | To know which client/IP can connect to which NFS share, you can use the command ''/ | ||
| + | </note> | ||
| Nowadays most of the GNU/Linux distribution defaults to NFSv4, which is a big step forward and differs quite a lot from NFSv3 (cf. http:// | Nowadays most of the GNU/Linux distribution defaults to NFSv4, which is a big step forward and differs quite a lot from NFSv3 (cf. http:// | ||
nasac/users_documentation.1693303275.txt.gz · Last modified:  (external edit)
                
                