Commit graph

44 commits

Author SHA1 Message Date
Cody Cook
6a00479546 Merge branch 'FixSnapper' into 'master'
Fix snapper

See merge request readynas-scripts/share_lun_ui_fix.sh!11
2019-04-01 23:57:12 -07:00
Cody Cook
5f371260ee Fix snapper integration by correctly using the right directory for snapshot configurations. 2019-04-01 23:57:12 -07:00
Cody Cook
f83929341a Merge branch 'SupperSnapperRebuilds' into 'master'
Integrate Snapper into the system

See merge request readynas-scripts/share_lun_ui_fix.sh!10
2019-04-01 23:42:57 -07:00
Cody Cook
c1b25aa875 math idiocy.
fix the count of shares instead of total shares, since do not want gaps in the snapper configs and isn't applicable to iscsi
2019-04-01 23:42:57 -07:00
Cody Cook
e1c23fe633 Merge branch 'SubvolumeMigrate' into 'master'
Subvolume migrate

See merge request readynas-scripts/share_lun_ui_fix.sh!9
2019-04-01 23:07:08 -07:00
Cody Cook
40a03a2499 Add subvolume migration feature and clean up logging. Speed up process. 2019-04-01 23:07:08 -07:00
Cody Cook
e0b7b00f0a Merge branch '610' into 'master'
Fix home folder and add btrfs subv checker

See merge request readynas-scripts/share_lun_ui_fix.sh!8
2019-04-01 11:30:57 -07:00
Cody Cook
618899ba8f There are several times where customers are
mistakenly creating folders where there should be btrfs subvolumes,
so this script will check now to see if it is valid.
I plan to add a migrate-to-proper-subvolume feature later.
2019-04-01 11:30:57 -07:00
Cody Cook
0d56c8ec3c Merge branch 'shellcheck694' into 'master'
Add shellcheck fixes and enhancements

See merge request readynas-scripts/share_lun_ui_fix.sh!7
2018-10-08 22:27:39 -07:00
Cody Cook
401da9582d Add shellcheck fixes and enhancements 2018-10-08 22:27:39 -07:00
Cody Cook
9336aabaf2 Add .gitlab-ci.yml to test the file 2018-10-08 22:11:49 -07:00
Cody Cook
31b6bb94fb Fix spelling mistake 2018-10-02 12:28:07 -07:00
Cody Cook
01bfd50d41 Update README.md for 6.9.4 2018-10-02 10:37:01 -07:00
Cody Cook
08b2a84f38 Merge branch '6.9.4_update' into 'master'
6.9.4 update

See merge request readynas-scripts/share_lun_ui_fix.sh!6
2018-10-01 16:36:35 -07:00
Cody Cook
6cba257903 6.9.4 update 2018-10-01 16:36:35 -07:00
Cody Cook
a5284e6bda Add example. 2017-12-07 22:28:09 -08:00
Cody Cook
e6dd1c6d24 Add debugging information to the README quiet the curl. 2017-12-07 22:23:47 -08:00
Cody Cook
d26cdbe8bd Ensure that we know there are 0 objects when there are 0 objects instead of trying to show objects. 2017-12-07 22:22:12 -08:00
Cody Cook
48870c461d Fix readynasd from restarting every time the volume runs. 2017-12-07 22:19:39 -08:00
Cody Cook
4838c5725e Fix for sure this time though! 2017-12-07 22:18:20 -08:00
Cody Cook
34b09d338b Fix again... 2017-12-07 22:13:43 -08:00
Cody Cook
3a39368bdc Fix style and remove a random if... 2017-12-07 22:10:04 -08:00
Cody Cook
1bdabe1a5a Merge branch '5-when-no-directories-existed-in-the-volume-tar-felt-obligated-to-error-out' into 'master'
Resolve "When no directories existed in the volume, tar felt obligated to error out..."

Closes #5

See merge request readynas-scripts/share_lun_ui_fix.sh!5
2017-12-07 21:58:39 -08:00
Cody Cook
4dda4ade66 Resolve "When no directories existed in the volume, tar felt obligated to error out..." 2017-12-07 21:58:39 -08:00
Cody Cook
2d1c3c377f Fix spelling of internet 2017-12-07 21:45:40 -08:00
Cody Cook
b320a94ce4 Add a README.md 2017-12-07 21:45:22 -08:00
Cody Cook
fc63ac09e2 Merge branch '4-grabbed-files-and-created-shares-out-of-them' into 'master'
Only show directories within the volume; exclude files. btrfs subvolumes are seen as directories.

Closes #4

See merge request netgear/readynas/os6/share_lun_ui_fix.sh!4
2017-12-07 21:23:02 -08:00
Cody Cook
f69ff5b4bf Only show directories within the volume; exclude files. btrfs subvolumes are seen as directories. 2017-12-07 21:20:59 -08:00
Cody Cook
efe93a3a09 Merge branch 'finalizecomment' into 'master'
Major updates

See merge request !3
2017-09-01 16:45:24 -07:00
Cody Cook
c768b82b81 Major updates 2017-09-01 16:47:09 -07:00
Cody Cook
22ec501225 Merge branch '3-iscsi-fix-is-fine-share-fix-rebuilds-iscsi-like-share-causing-readynasd-confusion' into 'master'
Resolve "iSCSI fix is fine, share fix rebuilds iSCSI like share, causing readynasd confusion"

Closes #3

See merge request !2
2017-09-01 14:40:31 -07:00
root
9b3a9e16b7 Combine the tools for better compatibility... 2017-09-01 14:42:07 -07:00
Cody Cook
d144bdad75 Fix globbing and other legacy problems 2017-08-22 17:39:26 -07:00
Cody Cook
e4e6079a0b Merge branch '1-update-script-for-os-6-8' into 'master'
Resolve "Update script for OS 6.8"

Closes #1

See merge request !1
2017-08-22 17:28:25 -07:00
Cody Cook
9dddb7d938 Share fixes 2017-08-22 17:26:47 -07:00
Cody Cook
53f08be2b1 Share fixes 2017-08-22 17:22:32 -07:00
Cody Cook
a8d460733d Update share_fix.sh for OS 6.8 2017-08-22 17:05:36 -07:00
Cody Cook
af715bf3a1 Update share_fix.sh layout 2017-08-22 16:55:34 -07:00
Cody Cook
f7a8e52123 Add additional checks 2017-08-22 16:50:24 -07:00
Cody Cook
fdc08739f1 Update for 6.8 2017-08-22 16:43:34 -07:00
Cody Cook
a8530f4a10 Update iscsi_fix.sh to add multi-volume support 2017-08-22 16:08:02 -07:00
Cody Cook
c32dd94892 Add new file 2017-08-22 15:44:01 -07:00
Cody Cook
6f15b5f090 Update share_fix.sh 2017-08-22 15:42:29 -07:00
Cody Cook
287f902da6 Add new file 2017-08-22 15:42:12 -07:00