简体   繁体   English

使用filestream将文件添加到sql文件组时,文件系统不支持错误

[英]file system not supported error while adding a file to sql filegroup with filestream

hi i am a beginner with sql server 2008, i was trying to add a file to a filegroup so that i an create a table which uses filestream, but i keep getting an errors. 嗨,我是sql server 2008的初学者,我试图将一个文件添加到文件组中,以便我创建一个使用文件流的表,但我不断收到错误消息。

here is the code that i am trying: 这是我正在尝试的代码:

ALTER DATABASE dbtry1

ADD FILEGROUP dbtry1_fg_filestream CONTAINS FILESTREAM

GO

ALTER DATABASE dbtry1

ADD FILE

(

NAME= 'dbtry1_filestream',

FILENAME = 'E:\Projects\fs.ndf'

)

TO FILEGROUP dbtry1_fg_filestream

GO

the errors: 错误:

Msg 5134, Level 16, State 2, Line 1 消息5134,第16级,州2,第1行

The path that is specified by 'E:\\Projects\\fs.ndf' cannot be used for FILESTREAM files because it is not on a supported file system. “ E:\\ Projects \\ fs.ndf”指定的路径不能用于FILESTREAM文件,因为它不在受支持的文件系统上。

Msg 5009, Level 16, State 14, Line 1 Msg 5009,第16级,状态14,第1行

One or more files listed in the statement could not be found or could not be initialized. 找不到或无法初始化语句中列出的一个或多个文件。

Please help! 请帮忙!

it is not on a supported file system. 它不在受支持的文件系统上。

  • Is it local NTFS? 是本地NTFS吗?
  • Compressed and not using 4k clusters? 压缩后不使用4k群集?

More info here 更多信息在这里

Edit: 编辑:

After comment.. no, you can't use FAT 32. Why do you still have this? 评论后..不,您不能使用FAT32。为什么仍然有此功能? You are limited to 4GB file size and I'm sure FILESTREAM would hit this quickly. 您的文件大小限制为4GB,我敢肯定FILESTREAM会很快达到目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM