1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Questions about SNMP, Power, System, Logs, disk, & RAID.
Locked
slavaz
Starting out
Posts: 17
Joined: Fri Jan 03, 2020 7:23 pm

1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by slavaz »

Hello All.

How to check file system type AND change it in volume?

The file system type was not proposed when creating a volume. Why?
What is the default FS type?
How to check which file system is currently used?
Is it possible to change the FS type without data loss?

I use RAID 1 (mirror) with two drives.
QNAP TS-453B mini
QTS 4.4.1.

Thank you.
User avatar
dolbyman
Guru
Posts: 35005
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by dolbyman »

fs doesnt matter ..as you are using file storage (smb,nfs,afp) not block storage

if you want block storage use iscsi
slavaz
Starting out
Posts: 17
Joined: Fri Jan 03, 2020 7:23 pm

Re: 1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by slavaz »

I'm sorry, your answer is not clear.
Any file storage uses a file system. It could be ext4, NTFS, etc.
Which file system does NAS QNAP use?
How to check FS type?
User avatar
dolbyman
Guru
Posts: 35005
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by dolbyman »

type in

Code: Select all

mount | grep "^/dev"
to find out the file systems for your mounted devices ... not sure what you will gain from it though .. because you are not dealing with those directly
grouillier
Starting out
Posts: 35
Joined: Mon Apr 19, 2021 11:47 am

Re: 1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by grouillier »

Thanks, dolbyman. I already knew the answer, but was curious to see it identified by the system:

Code: Select all

[~] # mount | grep "^/dev"
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,data_err=abort,delalloc,nopriv,nodiscard,noacl)
/dev/md13 on /mnt/ext type ext4 (rw,data=ordered,barrier=1,nodelalloc)
To the OP:

Code: Select all

Is it possible to change the FS type without data loss?
Not in the general case. The filesystem determines the physical layout of the data on storage, which is set when you format the volume. So, to change to a different filesytem, you'd have to completely reformat the volume. Some exceptions exist; you can upgrade from ext2 to ext3 without losing data. That was by design, as ext3 was created by adding journalling to ext2. But those exceptions are rare.
TS-230, TS-253A, both with latest stable QTS
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: 1. FS: How to check file system type AND change it in volume? (QNAP TS-453B mini)

Post by OneCD »

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Locked

Return to “System & Disk Volume Management”