Adding HD's from FreeNAS

Donaldini
Posts: 14
Joined: Thu Jan 14, 2010 8:31 am

Re: Adding HD's from FreeNAS

Postby Donaldini » Mon Jan 18, 2010 1:42 am

Code: Select all

[root@NAS ~]# cd /mnt/Data1; touch test.txttouch: kan tijdsstempels van ‘test.txt’ niet wijzigen: Bestandssysteem is alleen-lezen
In english it would be something like: "cannot change timestamps of text.txt: Filesystem is read-only"

So apparently the whole thing is read-only, with folders that are not accessible?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Adding HD's from FreeNAS

Postby moredruid » Mon Jan 18, 2010 1:55 am

everything readonly means just that: read only, no writes allowed.

you may want to try to mount the filesystem option "rw" instead of "ro"
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Donaldini
Posts: 14
Joined: Thu Jan 14, 2010 8:31 am

Re: Adding HD's from FreeNAS

Postby Donaldini » Mon Jan 18, 2010 2:48 am

I tried a couple of things, but these didn't work, so I must be doing something wrong :-)

Code: Select all

mount -t ufs -o ufstype=ufs2,rw /dev/sdb2 /mnt/Data2 mount -t ufs -o ufstype=ufs2,ro -rw /dev/sdb2 /mnt/Data2 mount -t ufs -o rw ufstype=ufs2,ro /dev/sdb2 /mnt/Data2 mount -t ufs -o ufstype=ufs2,w /dev/sdb2 /mnt/Data2 mount -t ufs -o ufstype=ufs2,rw /dev/sdb2 /mnt/Data2 mount -t ufs -o ufstype=ufs2 /dev/sdb2 /mnt/Data2
I suppose the ufstype=ufs2,ro means that he's going to mount a UFS2 type filsystem as Read-Only, but even tweaking that didn't work.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Adding HD's from FreeNAS

Postby cpg » Mon Jan 18, 2010 3:13 am

did you unmount it first?

this one should work!:

mount -t ufs -o ufstype=ufs2,rw /dev/sdb2 /mnt/Data2
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Donaldini
Posts: 14
Joined: Thu Jan 14, 2010 8:31 am

Re: Adding HD's from FreeNAS

Postby Donaldini » Mon Jan 18, 2010 3:59 am

Code: Select all

[root@NAS Data1]# umount /dev/sdb2 umount: /dev/sdb2: niet aangekoppeld [root@NAS Data1]# umount /mnt/Data2 umount: /mnt/Data2: niet aangekoppeld
where "niet aangekoppeld" means "not mounted"

Code: Select all

[root@NAS Data1]# mount -t ufs -o ufstype=ufs2,rw /dev/sdb2 /mnt/Data2 mount: onjuiste bestandssysteemsoort, ongeldige optie, ontbrekende codepagina, ontbrekend hulpprogramma, slecht superblok op /dev/sdb2, of een andere fout Soms staat er nuttige informatie in het systeemlog -- probeer zoiets als: dmesg | tail
and then this would be something like:

Code: Select all

... mount: incorrect filesystemtype, invalid option, missing codepage, missing help application, bad superblock on /dev/sdb2, or any other error. Sometimes useful information is found in the systemlog -- try something like: dmesg | tail

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Adding HD's from FreeNAS

Postby moredruid » Mon Jan 18, 2010 5:31 am

could you try to mount it with the option ufs2 only? So without the ,ro option.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Donaldini
Posts: 14
Joined: Thu Jan 14, 2010 8:31 am

Re: Adding HD's from FreeNAS

Postby Donaldini » Mon Jan 18, 2010 5:47 am

You mean like this one:

Code: Select all

mount -t ufs -o ufstype=ufs2 /dev/sdb2 /mnt/Data2
That one gave me the same problems

Donaldini
Posts: 14
Joined: Thu Jan 14, 2010 8:31 am

Re: Adding HD's from FreeNAS

Postby Donaldini » Wed Jan 20, 2010 4:11 am

* BUMP *

Who is online

Users browsing this forum: No registered users and 20 guests