Overclock.net › Forums › Software, Programming and Coding › Other Software › Who wants to explain folder junctions to me?
New Posts  All Forums:Forum Nav:

Who wants to explain folder junctions to me?

post #1 of 11
Thread Starter 
Or at least point me in the direction of some easy to read and understand material?

I've got two 2TB drives that I was initially looking at RAID'ing. I was scared by horror stories of losing everything (though the files aren't incredibly important) and changed my mind. I was offered the alternative of folder junctions by a member and I'm intrigued, but incredibly un-knowledgeable.

I'm looking to combine two drives into one big folder. I was told junctions could do this for me.

Now I just need to know how to do that.

Many thanks.
post #2 of 11
I haven't used them before, but reading the Wiki explained it all. NTFS Junctions are symbolic links to other directories. I don't think Microsoft provides a tool by which to create the Junctions, but found a link to an app in the MS KB:

http://technet.microsoft.com/en-us/s.../bb896768.aspx

So creating a folder "A" and making it a junction to another folder "B" - would yield the contents of folder "B" when you were opening folder "A". I believe this works for deleting and creating files as well. Making a new directory in folder "A" actually makes a new directory in folder "B" - since folder "A" is just a symbolic link to folder "B"

This is also not a replacement for backup, and raid will achieve the same goal. Both methods rely on two drives - although RAID incorporates them into one file structure.
Edited by _02 - 6/13/11 at 11:20am
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
post #3 of 11
Quote:
Originally Posted by CasanovaFly View Post
I've got two 2TB drives that I was initially looking at RAID'ing. I was scared by horror stories of losing everything
I'm assuming you mean putting the drives in RAID0 and losing everything if one drive fails? I've never heard of junctions, but if it views two drives as one volume it sounds like you would run the same risk. If the drives split the data and you lose one drive then you've lost your whole volume.
Containment
(18 items)
 
Metamorphosis
(19 items)
 
 
CPUMotherboardGraphicsRAM
AMD 955BE Gigabyte GA-770TA-UD3 Asus GTX560ti 12GB DDR3 1333 CL7 
Hard DriveHard DriveOptical DriveCooling
Spinpoint F3 750GB Seagate 1TB None Custom loop 
OSMonitorMonitorKeyboard
W7 Ultimate x64 Asus ML249H Asus VE228H Alienware TactX 
PowerCaseMouseMouse Pad
OCZ 550W Antec 902 Alienware TactX Razer Sphex 
AudioAudio
E-MU 0404 USB Ultrasone DJ1 Pro Headphones 
CPUCPUMotherboardGraphics
Xeon E5405 Xeon E5405 SuperMicro X7DA3 ATI X1800 
RAMHard DriveCoolingCooling
16GB DDR2 FB-DIMM Various Hyper 101 Hyper 101 
OSMonitorPowerCase
ESXi 5.0 Headless Antec NEO ECO 620W Rosewill RSV-L4000 
MouseMouse PadOtherOther
None None HP P400 IPMI Card 
Other
HP Dual Gigabit NIC 
  hide details  
Reply
Containment
(18 items)
 
Metamorphosis
(19 items)
 
 
CPUMotherboardGraphicsRAM
AMD 955BE Gigabyte GA-770TA-UD3 Asus GTX560ti 12GB DDR3 1333 CL7 
Hard DriveHard DriveOptical DriveCooling
Spinpoint F3 750GB Seagate 1TB None Custom loop 
OSMonitorMonitorKeyboard
W7 Ultimate x64 Asus ML249H Asus VE228H Alienware TactX 
PowerCaseMouseMouse Pad
OCZ 550W Antec 902 Alienware TactX Razer Sphex 
AudioAudio
E-MU 0404 USB Ultrasone DJ1 Pro Headphones 
CPUCPUMotherboardGraphics
Xeon E5405 Xeon E5405 SuperMicro X7DA3 ATI X1800 
RAMHard DriveCoolingCooling
16GB DDR2 FB-DIMM Various Hyper 101 Hyper 101 
OSMonitorPowerCase
ESXi 5.0 Headless Antec NEO ECO 620W Rosewill RSV-L4000 
MouseMouse PadOtherOther
None None HP P400 IPMI Card 
Other
HP Dual Gigabit NIC 
  hide details  
Reply
post #4 of 11
What do you want to achieve? One large drive instead of two small ones? You can make a JBOD (similar to raid0 without the srtiping) - you'd get one drive in windows and not have to worry about linking directories all over the place.
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
post #5 of 11
And you should really have a backup of your data somewhere other than those two drives anyway, making the risk of RAID0 be the time lost to restore from backup, not total data loss.
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
post #6 of 11
Thread Starter 
Quote:
Originally Posted by _02 View Post
I haven't used them before, but reading the Wiki explained it all. NTFS Junctions are symbolic links to other directories. I don't think Microsoft provides a tool by which to create the Junctions, but found a link to an app in the MS KB:

http://technet.microsoft.com/en-us/s.../bb896768.aspx

So creating a folder "A" and making it a junction to another folder "B" - would yield the contents of folder "B" when you were opening folder "A". I believe this works for deleting and creating files as well. Making a new directory in folder "A" actually makes a new directory in folder "B" - since folder "A" is just a symbolic link to folder "B"

This is also not a replacement for backup, and raid will achieve the same goal. Both methods rely on two drives - although RAID incorporates them into one file structure.
I tried looking at the Wiki page and it confused me. Your explanation, however, was better and it's pretty much what I assumed. Essentially what I want to do is RAID two drives (which are really just one big folder) together, but without RAID'ing them.

Quote:
Originally Posted by The_Punisher View Post
I'm assuming you mean putting the drives in RAID0 and losing everything if one drive fails? I've never heard of junctions, but if it views two drives as one volume it sounds like you would run the same risk. If the drives split the data and you lose one drive then you've lost your whole volume.
I was under the impression I wouldn't risk it, since it was proposed as a solution to me losing everything in my RAID array.

Quote:
Originally Posted by Darren9 View Post
What do you want to achieve? One large drive instead of two small ones? You can make a JBOD (similar to raid0 without the srtiping) - you'd get one drive in windows and not have to worry about linking directories all over the place.
What I would like to achieve is thus:

I have two drives, G and H. They each contain one folder, which we will call "Not Pr0n". I would like everything from H:\\Not Pr0n to appear in folder G:\\Not Pr0n and for the H: drive to "disappear". We'll say I have all my Not Pr0n files from A-M on the G: drive and N-Z on the H: drive. I would like these to all appear together. Especially because I share these drives and their contents.

Essentially, again, I want RAID without the physical RAID.

Quote:
Originally Posted by _02 View Post
And you should really have a backup of your data somewhere other than those two drives anyway, making the risk of RAID0 be the time lost to restore from backup, not total data loss.
I agree, but I don't have the money or the SATA ports to add another 2TB drive.
post #7 of 11
JBOD makes the two drives one (the OS sees one large drive), you can't control which drive you save stuff to though as the OS sees only one - you just get one large drive of 4TB in your case. What you seem to want is a stealth drive - don't think windows will do that, if the drive is present windows will show it. With junctions you can have a folder on the first that's linked to the root of the second so all its contents will appear to be in that folder, AFAIK the second drive can't disappear though.
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
post #8 of 11
Thread Starter 
Quote:
Originally Posted by Darren9 View Post
JBOD makes the two drives one (the OS sees one large drive), you can't control which drive you save stuff to though as the OS sees only one - you just get one large drive of 4TB in your case. What you seem to want is a stealth drive - don't think windows will do that, if the drive is present windows will show it. With junctions you can have a folder on the first that's linked to the root of the second so all its contents will appear to be in that folder, AFAIK the second drive can't disappear though.
What are the pratfalls of this JBOD? Is the potential for data loss similar to RAID? i.e. if I unplug one of the JBOD'd drives and start my computer it's bye bye info?
post #9 of 11
AFAIK its the same as separate drives, if one fails you lose what's on it but can recover the other. I'm not sure how they fill either, one first then the other??
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
Not SLi any more
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 @ 4.0 Asus P6TD-Deluxe EVGA GTX770 SC 6GB XMS3 @1530 cas7 
Hard DriveHard DriveHard DriveOptical Drive
Intel X25-M 80GB OCZ Agility 120GB Intel X25-M 40GB LG Blue ROM DVD RW 
CoolingOSMonitorKeyboard
Water cooled w/ T-Balancer BigNG Win 7 x64 Asus PB298Q Cherry 4100L 
PowerCaseMouseMouse Pad
Corsair HX1000 MM UFO-U2 R.A.T. 7 Contagion G.L.I.D.E 9 
AudioAudio
Xonar Essence STX SR80i, DT770 or HT-R518 w/ Monitor Audio BR's 
  hide details  
Reply
post #10 of 11
You could also create a virtual spanned volume in Windows. I think you can do it in disk management pretty easily, and it just puts two drives together into one virtual volume.

I haven't used it, so I'm not sure if there are any gotchas.

Also, does JBOD require you to format the disks and add them to an array? If so, and you really don't have any space to back your data up on, you could be stuck. If it matters to you, I have three old SATAII drives in a RAID0 array for a while now with no nightmares. They were actually ridiculously easy to put into software RAID0 and I haven't had to touch them since. And they are definitely faster.
Edited by _02 - 6/13/11 at 4:24pm
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Other Software
Overclock.net › Forums › Software, Programming and Coding › Other Software › Who wants to explain folder junctions to me?